- 
    Bug 
- 
    Resolution: Done
- 
    P1: Critical 
- 
    5.10.0 Beta 1
- 
    This bug is not present in 5.9.1, it is also not present in 5.10 downloaded using the MintanenceTool
 
 see attached srcreen-shot
 
 
- 
        d5a11a0ec206f6b9e7fd50b37717ca820d6ab98a, 3adfcbf1ed9b63c3ce41d7417658db3836fd3530
- Compile attached project (tbltest.zip) using Qt from current 5.10 branch, I've tested it on commit 1bba397539edbfb6a4212fe0cafbeb4ca703666a.
- Run application and change any column size using mouse
- Click on any column header to sort column
- You will see, that manually resized column width is reset to its original size.
- is duplicated by
- 
                    QTBUG-67156 endResetModel resets column widths in the QTableView -           
- Closed
 
-         
- 
                    QTBUG-66245 Regression: Sorting QTableView columns resets their size -         
- Closed
 
-         
- 
                    QTBUG-67131 Column width being reset unexpected in QTableView -         
- Closed
 
-         
- 
                    QTBUG-67625 QTreeView grows in wide after sorting -         
- Closed
 
-         
- is required for
- 
                    QTBUG-66884 Reg[5.10-5.10.1]Repeated call of layoutAboutToBeChanged() leads to crash -         
- Closed
 
-         
- relates to
- 
                    QTBUG-66951 [REG: 5.10.0->5.10.1]: If vertical scrollbar is not visible while QTreeWidget is being sorted, the horizontal size of the items area is expanded with each sort -         
- Closed
 
-         
| For Gerrit Dashboard: QTBUG-65478 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 215401,3 | Revert "QTreeView: Make sure QHeaderView is notified on layoutChanged()" | 5.9.4 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 217463,10 | QHeaderView: properly restore section data after layoutChanged() | 5.9 | qt/qtbase | Status: MERGED | -2 | 0 | 
| 220444,2 | QHeaderView: properly restore hidden section size on layoutChanged() | 5.11 | qt/qtbase | Status: MERGED | -1 | 0 | 
| 220567,5 | QHeaderView: Preserve settings on layoutChange with empty model | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 221198,2 | QHeaderView: properly restore hidden section size on layoutChanged() | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 221199,2 | QHeaderView: Preserve settings on layoutChange with empty model | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 221703,5 | QHeaderView: Fix crash in layout about to change | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 221872,2 | QHeaderView: Fix crash in layout about to change | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 | 
