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

Calling QColumnView::setCurrentIndex() can delete columns from the view

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Component/s: Widgets: Itemviews
    • Labels:
      None

      Description

      After http://codereview.qt-project.org/#change,8644 (which change QTest::qWait to process all DeferredDelete events), the tst_QColumnView::parentCurrentIndex() test function crashes on the last statement of the test function. This crash seems to occur because the last call to view.setCurrentIndex() sets up a deferred delete of the last column of the view. I am not aware of any valid reason for setting the current index to cause any part of a view to be deleted.

        Attachments

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

          Activity

            People

            Assignee:
            richard Richard Moe Gustavsen
            Reporter:
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes