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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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

    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

          For Gerrit Dashboard: QTBUG-39766
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes