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

QAbstractItemView::mousePressEvent() always update()s the complete view

    XMLWordPrintable

Details

    Description

      This functon is using setUpdatesEnabled(false/true) to minimize updates, but in the end the last setUpdatesEnabled(true) will call update() on the complete viewport.
      This can be much slower then just repainting the old and the new selection (esp. in single selection views).

      Keyboard navigation doesn't do full updates.

      (found on 4.4beta1, WinXP – run any program with a QAbstractItemView with QT_FLUSH_PAINT=1 to reproduce)

      Attachments

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

        Activity

          People

            monsen Marius Bugge Monsen
            ebaak Ed Baak (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes