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

Canvas.requestAnimationFrame's callback uses seconds instead of milliseconds

    XMLWordPrintable

Details

    • a36b5f85ff92c9f849d07080e1115dccfcd5c93c

    Description

      I've just ported some web-javascript code to QML and noticed that the callback's timestamp parameter of requestAnimationFrame is in seconds instead of milliseconds like on all major browsers.

      Receiving the same timestamp 60 times per second makes no sense at all.

      Since this is a behavior-change, the non-existing documentation mentioned in QTBUG-46554 also needs to be updated.

      Attachments

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

        Activity

          People

            broulik Kai Uwe Broulik
            gri Christoph Keller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes