Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.4.2, 6.5.0 Beta3
Description
When the remove animation is interrupted ie. the displaced animation is started due to some other item is also removed or added then the item that had the remove animation interrupted is not completely removed, but is left as an artifact to the view.
Our documentation covers the case then an add transition is interrupted, but this does not work for remove case as there is not knowing which transition was interrupted and it does not also know which item the animation was interrupted and all the displaced items will be going thru the remove animation.
https://doc.qt.io/qt-6/qml-qtquick-viewtransition.html#handling-interrupted-animations
The reproduce the issue, please run the attached example.
- Start clicking the ListView items from the top so that the next remove will cause a displacement animation to interrupt the previous remove animation.
- The removed items will be left on the view with unfinished remove animations.
- Change the geometry of the application window which causes the scene to be rendered and the artifacts will disappear.