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

QAbstractItemModel: Race Condition while fetching data

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.4
    • Remote Objects
    • 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

              bstottle Brett Stottlemyer
              jirauser43583 user-49824 (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes