Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
None
-
5.7, 5.12
-
OSX 10.8 with xcode 5.1 in a virtual machine
Description
This can easily be seen from this test result: http://testresults.qt.io/logs/qt/qtdeclarative/1957836badf0d0c4b33c298e5964d2be21dabf10/OSXOSX_10_08x86_64OSXOSX_10_08x86_64ClangRelease/d905bb84701d5cebbe27a4a3919e95c7ad6fa18f/testrun_1452096037/testlog.txt.gz
You can reproduce the test by running the following QML in qmlscene:
import QtQuick 2.0 Rectangle { width: 100 height: 100 color: "blue" RotationAnimation on rotation { duration: 3600 loops: Animation.Infinite from: 0 to: 360 } Timer { interval: 300 repeat: true running: true property int prevHit: -1 property int prevRotation: -1 onTriggered: { var date = new Date; var millis = date.getMilliseconds() if (prevHit < 0) { prevHit = millis; prevRotation = parent.rotation return; } var milliDelta = millis - prevHit; if (milliDelta < 0) milliDelta += 1000; console.log(milliDelta, "milliseconds "); prevHit = millis; var delta = parent.rotation - prevRotation; if (delta < 0) delta += 360 prevRotation = parent.rotation console.log(delta, "degrees "); } } }
It should take roughly 300ms per 30 degrees, but it takes only a bit more than 100ms.
Note that it doesn't happen on OSX 10.9 or on Linux on a non-virtual machine.
Attachments
Issue Links
- relates to
-
QTBUG-70962 QML Animators are too fast on macOS
- Closed