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

TreeView assertion failure on appending items into expanded, non-empty, non-root parent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.3.2, 6.5.1, 6.8.3, 6.9.0
    • None
    • Windows

    Description

      Reproduce:

      • Configure, build and run the project TreeViewTest in the attachment.
      • Expand the root item at top.
      • Click "Append" twice, and the assertion failure will occur on the second click.

      As the title says, the assertion failure happens ONLY when appending items (not prepending or inserting in the middle), non-empty parent (so the first click runs fine), non-root parent (the parent passed into ListModel::beginInsertRows is not QModelIndex()), and the corresponding node is expanded in TreeView.

      Don't know if this is the side effect of QTBUG-66062.

      Attachments

        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
            xris1658 tl l
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes