Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt for MCUs 2.0
-
-
QUL Sprint 2.2/2022, QUL Sprint 2.3/2022, QUL Sprint 2.4/2022, QUL Sprint 2.5/2022, QUL Sprint 2.6/2022, QUL Sprint 3.1/2022
Description
When using for example PropertyAnimation or NumberAnimation the animations run longer or shorter time than it should (it does not respect the value of duration property).
Way to reproduce:
Build and Run the attached project using Qt for MCUs 2.0 on Desktop.
Click the background.
Clicking starts the timers and animations running which all should have the same duration.
There are two pairs, where in both of them in the object above the property change is done inside a timer and it respects the duration like expected. But in the objects on bottom PropertyAnimation is used and the animation runs a lot longer that set in duration.
Difference couldn't be seen when tested on STM32F769I-DISCOVERY board where the animations and timers were in sync like expected.
Was reproducible with Renesas EK-RA6M3G board when tested.