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

Slow deletion from QML TreeView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.15.2
    • Quick: Controls 1
    • None
    • Windows

    Description

      https://github.com/DimaKoltun/Slow-Remove-From-QML-TreeView

      shows that deletion 500 items from QML TreeView takes ~10 seconds (on my PC), but for QML ListView the deletion is instant, widget QTreeView also relatively fast.
      Why deletion from QML TreeView so slow, but for QTreeView is fast? What difference between implementations?

      is it https://marketplace.qt.io/products/treeview faster remove items than qml TreeView from Controls.1?

      Attachments

        1. TreeView.mp4
          7.68 MB
        2. Slow-Remove-From-QML-TreeView-master.zip
          4 kB
        3. ListView.mp4
          2.98 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richard Richard Moe Gustavsen
            dimakoltun dimakoltun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes