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

When changing states inside a StateGroup then it will apply the new state first and then revert the old one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.10.1, 5.15.10, 6.2.0, 6.8.0
    • Quick: Other
    • macOS 10.13
    • macOS

      When changing states inside a StateGroup then it will apply the new state first and then revert the old one. This is clear when you use different properties for the states as it will indicate that it makes the new state active first then the old state inactive:

      0x7fdde5f1f7e0 Changing state.  From "state0" . To "state1"
          QQuickStateAction: QQuickWindowQmlImpl_QML_0(0x7fdde5cd6c30) "state1active" From: QVariant(bool, false) To: QVariant(bool, true)
          QQuickStateAction: QQuickWindowQmlImpl_QML_0(0x7fdde5cd6c30) "testColor" From: QVariant(QString, "red") To: QVariant(QString, "green")
          QQuickStateAction: QQuickWindowQmlImpl_QML_0(0x7fdde5cd6c30) "state0active" From: QVariant(bool, true) To: QVariant(bool, false)
      

        1. qtbug67341.tar.gz
          3 kB
        2. 1152780.diff
          0.5 kB
        For Gerrit Dashboard: QTBUG-67341
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change