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

QAbstractItemView calls invokeMethod() each time the rowsInserted() signal of it's model is emitted, posting an event.

    XMLWordPrintable

Details

    Description

      QAbstractItemView calls invokeMethod() each time the rowsInserted() signal of it's model is emitted, creating an event. This can become a problem is many rows are inserted, one by one, without returning to the event loop in between since one event is then created and posted for each row.

      This becomes a bigger problem when using QtMotif since the wakeUp() implementation of that one (which ends up being called by postEvent()) adds a timeout for each call, thus one gets a lot of timers. But this can also be a problem of it's own.

      Attachments

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

        Activity

          People

            monsen Marius Bugge Monsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes