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

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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        1. main.qml
          1.0 kB
        2. main2.qml
          0.9 kB
        For Gerrit Dashboard: QTBUG-16662
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes