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
-
For Gerrit Dashboard: QTBUG-101186 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
398596,1 | WIP: rollback things | 6.2 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
398600,1 | WIP: Revert "QQuickItem: Make x/y/width/height bindable" | 6.2 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
398628,2 | QQuickAnchorChanges: Keep geometry bindings on reverse() and rewind() | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
398780,2 | QQuickAnchorChanges: Keep geometry bindings on reverse() and rewind() | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
398781,3 | QQuickAnchorChanges: Keep geometry bindings on reverse() and rewind() | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |