Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0
-
None
Description
The following example demonstrates the issue:
// Test.qml import QtQuick 2.0 Item { id: root property string myText: "hello world" ChangeTest { id: changeTest text: myText } states: State { name: "changed" PropertyChanges { target: changeTest text: "" } } MouseArea { anchors.fill: parent onClicked: { if (root.state == "") root.state = "changed" else { root.state = "" myText = "goodbye" } } } } //ChangeTest.qml import QtQuick 2.0 Item { property alias text: myText.text Text { id: myText } }
When clicking a second time, the text should change to "goodbye". Instead, with Qt 5.6 (and a recent dev) it stays as "hello world"