Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.6, 5.15
Description
The code below on started doesn't stop(), complete() or running = false.
alwaysRunToEnd must be false or the loops do not be Infinite (but it will loop the specified number), which doesns't make for a smooth transition.
This might be fixed but I did not find a bug report and could not test on a newer Qt version.
SequentialAnimation { id: seqAnim loops: Animation.Infinite alwaysRunToEnd: true OpacityAnimator { target: whiteRect; from: 1; to: 0.6; duration: 200 } OpacityAnimator { target: whiteRect; from: 0.6; to: 1; duration: 200 } // disable alwaysRunToEnd and this for workaround onStopped: whiteRect.opacity = 1 }