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

Undo stack shows unwanted results with QHeaderView stretchLastSection set to true

    XMLWordPrintable

Details

    • Windows

    Description

      When the stretchLastSection property of QHeaderView is set to true the QHeaderView::sectionResized reports incorrect size values that make the undo stack behave incorrectly.

      This can be reproduced with the attached example by shortening the first column. Then the QHeaderView::sectionResized reports the last section values and the undo stack is no longer usable.

      Attachments

        1. columnWidthsBug.7z
          2 kB
          Titta Heikkala
        2. columnWidthsBug_demo.mp4
          3.54 MB
          Ronil Sedani
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            tiheikka Titta Heikkala
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes