Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.14.2, 5.15.1
-
None
Description
Item.state behavior changed from 5.14.
There are 2 States("left", "right") and a bool flag(leftMode).
Qt 5.14 and 5.15 change state from "right" to "left" via empty("") state.
property bool leftMode: true states: [ State { name: "left" when: leftMode }, State { name: "right" when: !leftMode } ]
How to reproduce
- qmlscene main.qml
Expected behavior(5.13 and before)
qml: state: left
qml: state: right
qml: state: left
qml: state: right
qml: state: left
qml: state: right
Actual behavior(5.14 ant 5.15)
qml: state: left
qml: state: right
qml: state:
qml: state: left
qml: state: right
qml: state:
qml: state: left
Attachments
Issue Links
- duplicates
-
QTBUG-86695 [REG: 5.12 -> 5.14] Broken State::when behavior after suspicious change
- Closed