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

Android QPlatformScreen does not expose the refresh rate: Animations (and timers) too fast on higher refresh rate monitors

    XMLWordPrintable

    Details

    • Platform/s:
      Android

      Description

      As higher refresh rate monitors are becoming more common, this issue occurs more often. Now even popular mobile devices have screens with higher refresh rates such as:

      • Samsung Galaxy S20 with its 120Hz panel
      • Google Pixel 4 with 90Hz panel

      https://www.smartprix.com/bytes/best-90hz-120hz-refresh-rate-display-phones/

      That means animations run too fast fast (2x and 1.5x) than they should because Qt assumes it is always 60Hz.

      This also affects Timer because it is driven by animation system. Additionally there can be variable refresh rates.

      Basically this forces applications to always use basic renderer. If this animation timing cannot be fixed for threaded renderer, perhaps the next best thing would be to automatically use basic renderer if refresh rate !=60.

      Note that animations and timers also run too slow if used on <60Hz monitors

        Attachments

        For Gerrit Dashboard: QTBUG-93823
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            qtandroidteam Qt Android Team
            Reporter:
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes