Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-92

Animations run longer or shorter time than defined by the duration property

    XMLWordPrintable

Details

    • Windows
    • 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.

      Attachments

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

        Activity

          People

            tonyl Tony Leinonen
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes