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

QHeaderView::reset does not invalidate cached size hint

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.0 Alpha
    • 5.9.5
    • Widgets: Itemviews
    • None
    • f02256cce12392a35d177511e39052985fc720ac

    Description

      On model reset QHeaderView::reset() does not call  d->invalidateCachedSizeHint();

      So any data change that affects header height will not display correctly as the size of the header view is not updated.

      calling headerDataChanged on any section is a workaround but should not be required after model reset.

      Attachments

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

        Activity

          People

            chehrlic Christian Ehrlicher
            hrabowski Maximilian Hrabowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes