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

QHeaderView: If a section is hidden after a section is moved, and then later a section is inserted then it can cause an assert

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.6.2
    • Widgets: Itemviews
    • None
    • f9b0efc17962df74a67d81daca5814af93a5fb97

    Description

      QHeaderView: If a section is hidden after a section is moved, and then later a section is inserted then it can cause an assert. The attached example reproduces this problem. The patch attached appears to solve this problem too.

      Attachments

        1. test_qheaderview.pro
          0.1 kB
        2. test_qheaderview.h
          1.0 kB
        3. test_qheaderview.cpp
          0.1 kB
        4. correctpatch.diff
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes