Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39766

*Animator does not update target property when duration is set to 0.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.6.1
    • 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

      *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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sletta Gunnar Sletta
            chalker Сковорода Никита
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes