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

QUnifiedTimer stops updating animation timers after long period of time

    XMLWordPrintable

Details

    • b3cbdf39683eca1c2ac2b3f70c06f24a7deccb1a

    Description

      -Start attached qml example
      -Leave it running for ~5 days
      -Animation stops

      Using a debugger we see that delta in QUnifiedTimer::updateAnimationTimers is always 0, because QUnifiedTimer::elapsed() returns the same tick value on every call. Because delta is 0, none of the animation timers are updated.

      If we break into the updateAnimationTimers using a debugger and continue executing again, elapsed() will return new values causing delta to become postive and animation resuming. The problem reappears when normal execution is resumed.

      Attachments

        1. main.qml
          0.5 kB
        2. output_after_5_days.txt
          2 kB
        3. output_normal.txt
          3 kB
        4. qtdiag.txt
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            jbb Jesper Bækdahl
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes