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

QDeclarativeSmootheredAnimation setVelocity does not update running animation

    XMLWordPrintable

Details

    • 3146eab

    Description

      In QML, when the velocity of a running SmootheredAnimation is changed, nothing happens until animation is restarted.

      I have a screen with a ListView, a slider and a play button. The use case is, I click "play" and auto-scrolling starts on the list. When the slider knob is moved, the auto-scroll speed should be changed on-the-fly. Nothing happens however until the animation is stopped and restarted.

      By inspecting QDeclarativeSmootheredAnimation::setVelocity() I realize that method only changes the velocity of the "template" animation, and not of the actual running animation.

      Attachments

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

        Activity

          People

            aalpert-nokia Alan Alpert (closed Nokia identity) (Inactive)
            fleury Eduardo Fleury
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes