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

Wrong component executed on Loader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.5.1
    • None

    Description

      We are creating two different components via Qt.createQmlObject, then assign one of them to a loader and the code executed is 50% of the times the one of the other component.

      I.e. running the attached program i get "COMPONENT1" in the terminal about 50% of the times.

      Can only reproduce on armhf (i.e. the Ubuntu Phone) if running on regular Linux it works fine

      The problem disappears if the third parameter to createQmlObject is either different or non existant.

      Attachments

        1. main.qml
          0.6 kB
          Albert Astals Cid (Canonical)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shausman Simon Hausmann
            tsdgeos_canonical Albert Astals Cid (Canonical) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes