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

Component nodes can arrive at the backend without parent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12.1
    • Fix Version/s: 5.12.2
    • Component/s: Qt3D
    • Labels:
      None

      Description

      The call to _q_postConstructorInit is direct in QNodePrivate::propertyChanged, while it is queued in QNodePrivate::init. This means that the former can be processed before the next submitChangeBatch, where the creation event of the latter is found. Together, this results in a child node creation change arriving at the backend with a reference to a parent that has not yet had a node creation change sent to the backend.

        Attachments

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

          Activity

            People

            Assignee:
            dragly Svenn-Arne Dragly
            Reporter:
            dragly Svenn-Arne Dragly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes