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

Slow deletion from QML TreeView

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Platform/s:
      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. ListView.mp4
          2.98 MB
        2. Slow-Remove-From-QML-TreeView-master.zip
          4 kB
        3. TreeView.mp4
          7.68 MB
        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:
            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