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

QML Loader.sourceComponent used in state load the component 2 times

XMLWordPrintable

      When changing the sourceComponent property of a Loader in a QML state, the component is loaded twice and deleted once.

      You'll find attached 2 QML files: one with this bug (main.qml) and one with a workaround and the correct behavior (man2.qml). Of course those files are based on a more complex project

        1. main.qml
          1.0 kB
        2. main2.qml
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            aalpert Alan Alpert
            nicolas Nicolas
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes