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

QAbstractItemModel: Race Condition while fetching data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.4
    • Fix Version/s: None
    • Component/s: Remote Objects
    • Labels:
      None

      Description

      When the QAbstractItemModelReplicaImplementation receives the reply of the data fetch request the data are assigned to the model rows that were valid at the the time the request was sent. If rows have been moved in the meantime this assignment is not correct.

      Instead the replica must track all requested rows via QPersistentModelIndexes.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              bstottle Brett Stottlemyer
              Reporter:
              cgudrian Christian Gudrian
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes