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

Improve alwaysRunToEnd support for complex animations

    XMLWordPrintable

Details

    Description

      In the following case (pause followed by infinite loop) its hard to get the correct alwaysRunToEnd behavior.

      SequentialAnimation on rotation {
              id: rotationAnim; running: false; alwaysRunToEnd: true
              PauseAnimation { duration: container.pause }
              SequentialAnimation {
                  loops: Animation.Infinite
                  NumberAnimation { from: 0; to: 2; duration: 50 }
                  NumberAnimation { from: 2; to: -2; duration: 100 }
                  NumberAnimation { from: -2; to: 0; duration: 50 }
              }
          }
      

      One option might be to allow alwaysRunToEnd to be set on sub-animations, and handle that correctly (requires research).

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            brasser Michael Brasser (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes