Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.3.0
-
None
-
Linux zenbook 3.15.1-1-ARCH #1 SMP PREEMPT Tue Jun 17 09:32:20 CEST 2014 x86_64 GNU/Linux
Description
*Animation (NumberAnimation on y) with «duration: 0» updates the target property to «to» value.
*Animator (YAnimator) with «duration: 0» does nothing, the target property is not changed at all.
The documentation tells:
The value of the QML property will be updated after the animation has finished. The property is not updated while the animation is running.
But it does not work so when the animation duration is set to 0.
I agree that there is no reason to make an Animator with constant duration set to 0, but there could be a valid use-case with duration calculated at runtime.
Attachments
Issue Links
- relates to
-
QTBUG-121791 OpacityAnimator does not update target property when duration is set to 0.
- Reported
For Gerrit Dashboard: QTBUG-39766 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
145237,7 | Handle duration of zero in QML animators | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |