Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.14.2, 5.15.2, 5.15.6, 6.1.0, 6.2.0
-
None
Description
In the attached example, pressing a button slides in an overlay from the right, and a button on the overlay closes the overlay. Both opening and closing is animated, with slightly different animations:
transitions: [ Transition { from: "hidden" to: "shown" NumberAnimation { properties: "anchors.rightMargin" duration: 1800 easing.type: Easing.InQuint } }, Transition { from: "shown" to: "hidden" NumberAnimation { properties: "anchors.rightMargin" duration: 1800 easing.type: Easing.OutQuint } }
The first transition is ignored: opening the overlay isn't animated. Closing is.
It works if using a single transition, without explicit linking to states via from/to:
transitions: [
Transition {
NumberAnimation {
properties: "anchors.rightMargin"
duration: 1800
easing.type: Easing.InQuint
}
}
]
I see this broken since Qt 5.14.2, while it works in 5.13.2.