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

QTimeLine sometimes takes extra time to finish on Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.8.0, 5.12.0
    • None
    • OS X 10.11.6, Xcode 6.4
      macOS 10.14.2, Xcode 10.0
    • macOS

    Description

      QTimeLine uses coarse timer internally, and since it can fire prematurely, sometimes it takes QTimeLine one extra interval to finish. Please refer to the attached example.

      Note that this behavior is not present on Windows. It is present on Mac (and potentially other unix systems).

      Expected result: timeline finishes after (duration) ms.

      Actual result: timeline may finish after (duration + interval) ms.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              azui Andrii Zui
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes