Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
StackView doesn't handle transition interruptions correctly
Andreas Schacherbauer last edited by
We're using a Qml StackView to handle transitions between views. The quick items (views) are created and managed in C++.
When we switch from
Transition1) and trigger a transition from
viewAis not rendered anymore. The parent (Qml) is null and the visible property is false. So it makes sense that
viewAis 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 from
Transition1and call there
completefunction before we start
Transition2and this seems to work for as long as the animations are running, but once
Transition2finishes, the stack view seems to restore the view state as how it would have been if
Transition1would have finished.
Does anyone already had the situation where a view transition from the Qml StackView needed to be interrupted before finished?