Status: In Progress
Priority: P1: Critical
Affects Version/s: 5.14.2
Fix Version/s: None
Component/s: Quick: Core Declarative QML
The following example shows a state group with two defined states, with one when-binding each. It seems well-defined and behaves correctly in Qt 5.12.6, but not in Qt 5.14.2. The issue is that the state string visits the empty string "" in a transition between two well defined states.
Notice how root.number is 2, and is set to 1 with a timer. The state group defines states for when number is 1 and 2.
Notice the empty state "". This state change naturally breaks transition animations.
We find this commit suspicious but cannot see what the possible fix is:
Headsup Harald Hvaal.
|For Gerrit Dashboard: QTBUG-86695|
|319179,1||WIP/RFC: Avoid state oscillation when QQuickState::when is set||dev||qt/qtdeclarative||Status: NEW||-2||0|