Animation is running very fast on certain mobile device
-
Hi All,
I was trying to perform rotation animation and I want it to perform for 8 seconds. But with latest mobile (eg. Android 13, Samsung S22 ultra), I could see animation gets completed within 4 seconds.
But with older android mobile(Android 11) or in Desktop , I could see my animation running for 8 seconds.
I am using Qt 5.15.2.
code snippet:
Window { id: root width: 400 height: 400 visible: true Rectangle { anchors { top: parent.top } width: 50 height: 50 color: "black" MouseArea { anchors.fill: parent onClicked: { anim.start() } } } Rectangle { anchors.centerIn: parent width: 50 height: 50 color: "black" NumberAnimation on rotation { id: anim from: 0 to: 360 loops: 10 running: false duration: 800 } } }Can some one guide me, why on certain mobile device , Animation running duration is varied ?
Do we have any known issue documented somewhere related to it ?
-
Hi All,
I was trying to perform rotation animation and I want it to perform for 8 seconds. But with latest mobile (eg. Android 13, Samsung S22 ultra), I could see animation gets completed within 4 seconds.
But with older android mobile(Android 11) or in Desktop , I could see my animation running for 8 seconds.
I am using Qt 5.15.2.
code snippet:
Window { id: root width: 400 height: 400 visible: true Rectangle { anchors { top: parent.top } width: 50 height: 50 color: "black" MouseArea { anchors.fill: parent onClicked: { anim.start() } } } Rectangle { anchors.centerIn: parent width: 50 height: 50 color: "black" NumberAnimation on rotation { id: anim from: 0 to: 360 loops: 10 running: false duration: 800 } } }Can some one guide me, why on certain mobile device , Animation running duration is varied ?
Do we have any known issue documented somewhere related to it ?