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

RotationAnimator does not pick up geometry changes correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.2.0 Alpha
    • Quick: SceneGraph
    • None
    • 192cb97fa6229b8e2b149e90ac49dddd228405d4

    Description

      Take the following .qml file. Run it with qmlscene and then resize the window.

      import QtQuick 2.2
      
      Rectangle {
          width: 200
          height: 200
      
          gradient: Gradient {
              GradientStop { position: 0; color: "palegreen" }
              GradientStop { position: 1; color: "black" }
          }
      
          Rectangle {
              color: "white"
              width: 5
              height: parent.height / 2
              antialiasing: true
              anchors.centerIn: parent
              RotationAnimator on rotation { from: 0; to: 360; duration: 10000; loops: Animation.Infinite }
          }
      }
      

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            sletta Gunnar Sletta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes