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

animation runs faster after the qmlpreview refreshed the app

    XMLWordPrintable

Details

    • Windows

    Description

      import QtQuick 2.9
      
      Rectangle {
          visible: true
          width: 640
          height: 1000
          color: "blue"
      
      
          Rectangle {
              id: testRect
              y: 4
              width: parent.width
              height: 10
          }
      
          NumberAnimation {
              id: testAni
              target: testRect
              property: "height"
              running: true
              to: 1000
              from: 0
              loops: -1
              duration: 10000
          }
      }
      

      After the first refresh by changing the color to something else, the animations runs faster then the 10 seconds which it should, every following refresh does not change the speed anymore.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              tjenssen Tim Jenssen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes