Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0, 6.2.3, 6.3.0 Beta2
-
-
247efb9a34 (qt/qtdeclarative/dev) cf3534147f (qt/qtdeclarative/6.3) c0e2b028c2 (qt/qtdeclarative/6.2) c0e2b028c2 (qt/tqtc-qtdeclarative/6.2) cf3534147f (qt/tqtc-qtdeclarative/6.3)
Description
Rectangle width and height are bound to parent's width and height. Rectangle width and height become zero values if its anchoring is changed with AnchorChanges in a QML state and state is active when the Rectangle is created. There needs to be AnchorAnimation transition defined for anchor change to trigger the issue. Attached AnchorText application log output:
Qt5.15.8:
qml: innerRect width changed: 100
qml: innerRect height changed: 100
qml: innerRect width 100
qml: innerRect height 100
Qt6.2.3:
qml: innerRect width 0
qml: innerRect height 0
Attachments
Issue Links
- relates to
-
QTBUG-112354 AnchorChanges in states are not released
- Closed