Unsolved StackView doesn't handle transition interruptions correctly
-
Hi all,
We're using a Qml StackView to handle transitions between views. The quick items (views) are created and managed in C++.
When we switch fromviewA
toviewB
(Transition1
) and trigger a transition fromviewB
toviewA
(Transition2
) beforeTransition1
is finished,viewA
is not rendered anymore. The parent (Qml) is null and the visible property is false. So it makes sense thatviewA
is not rendered anymore, but we can't manage to set properties in a way so that it's rendered again.
We tried to iterate over all animations fromTransition1
and call therecomplete
function before we startTransition2
and this seems to work for as long as the animations are running, but onceTransition2
finishes, the stack view seems to restore the view state as how it would have been ifTransition1
would have finished.Does anyone already had the situation where a view transition from the Qml StackView needed to be interrupted before finished?
Thanks,
Andreas