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

Loops value has no effect for animation within a group (on animation-refactor branch)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.0.0
    • None
    • Mac OS 10.6 with qtdeclarative:animation-refactor branch at 67d8851e20aa50012d9360580af19f2f7476a093

    Description

      Tested on Mac OS 10.6 with qtdeclarative:animation-refactor branch at 67d8851e20aa50012d9360580af19f2f7476a093

      The NumberAnimation below will only run once instead of three times.

      If taken out of the SequentialAnimation, the NumberAnimation will run three times as expected.

      import QtQuick 2.0
      
      Item {
          width: 200; height: 200
      
          Rectangle {
              id: rect
              x: 50; y: 50; width: 50; height: 50; color: "red"
      
              SequentialAnimation on rotation {
                  NumberAnimation {
                      from: 0; to: 90; duration: 500
                      loops: 3
                  }
              }
          }
      }
      

      Attachments

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

        Activity

          People

            brasser Michael Brasser (closed Nokia identity) (Inactive)
            bealam Bea Lam (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