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

QTreeView::isFirstColumnSpanned becomes slow due to O(n) complexity.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.12.0 Alpha
    • 5.10.0
    • Widgets: Itemviews
    • None

      The code for QTreeView::isFirstColumnSpanned() performs a linear loop through all view items spanningIndexes to determine if the row has the 'spanning' flag set. This makes expand() and layout() operations very slow on models with many rows.

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

            chehrlic Christian Ehrlicher
            antrag Anton Ragnarsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes