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

Crash in QTreeView crash in indexRowSizeHint/itemHeight

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.8.0
    • None
    • Windows 7 64-bit, Qt Creator 2.4.1, Compiler: Mingw 4.4

      The problem seems related to QTBUG-16292 crash which is marked fixed from Qt 4.7.4 onwards. However it still happens in Qt 4.7.4 and Qt 4.8.

      You will see that someone else also logged that it still happens for them in the bug report.

      I have a widget which shows a QTreeView with my own tree view model and my own QSortFilterProxyModel based class. It works fine in everywhere in the app, except when I show it from a QDialog based class. I honestly can't figure it out after lots of debugging.

      The crash happens as soon as you show the view (line 55 in the attached stack trace).

      I unfortunately cannot provide a test case since it happens only in a big application we are developing with a bunch of dependencies.

      If you need anything else, please let me know.

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

            Unassigned Unassigned
            jpnaude Jaco Naude
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes