Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66245

Regression: Sorting QTableView columns resets their size

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.9.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 10

      Description

      Up until 5.9.4 on Windows, sorting a QTableView column didn't reset the column widths or positions. Now with 5.9.4, if you change the column sizes and/or reorder the columns, sorting will reset both their widths and positions.

      Attached is a small test program. I haven't tested on Linux, but the problem occurs on Windows 10 and does not happen on macOS.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                chehrlic Christian Ehrlicher
                Reporter:
                mattb Matt Barringer
              • Votes:
                3 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes