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

QML animation running too fast on Windows 7

    XMLWordPrintable

Details

    Description

      Consider the following simple example:

      import QtQuick 2.0
      
      Rectangle {
          id: root
          width: 800
          height: 600
          color: "black"
          focus: true
      
          Rectangle {
              id: rect
              width: 150
              height: parent.height
      	color: "seagreen"
              visible: animation.running
      
              NumberAnimation on x {
                  id: animation
                  from: -rect.width
                  to: root.width
                  loops: Animation.Infinite
                  duration: 4000
                  running: false
              }
          }
      
          Keys.onSpacePressed: animation.running = true
      }
      

      The speed of green bar is incosistent when switching between different versions of Qt on Windows 7 (x64). The speed is equal and as expected for versions 5.1.1, 5.2.1, and 5.3. Alas, on 5.4 animation is running approximately 2 times faster than desired.

      No such behaviour for Mac OS X 10.10, and Ubuntu 12.02 (verified for the same list of Qt versions).

      Attachments

        1. Radeon settings.png
          111 kB
          Elias Steurer

        Issue Links

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

          Activity

            People

              sletta Gunnar Sletta
              dvolosnykh Dmitry Volosnykh
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes