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

Different Screen.pixelDensity and Screen.devicePixelRatio

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.1.1, 6.2.0 Alpha
    • 6.0.1
    • GUI: High-DPI
    • None
    • iOS/tvOS/watchOS
    • e3e070e87b3a8036f7200755ba32b57437304ee6 (qt/qtbase/dev) 207b9346f78ab776507c275c68efe91cf18b4191 (qt/qtbase/6.1)

    Description

      On Qt 5.15 and Qt 6.0 different Screen.pixelDensity and Screen.devicePixelRatio on one physical device. Here published info in the thread https://forum.qt.io/topic/125613/difference-between-running-on-qt-5-15-and-qt-6-0-size-of-qml-elements-in-ui-why

      Attachments

        1. Screenshot 2021-04-29 at 16.12.22.png
          63 kB
          Alexandr KIRILOV
        2. Screenshot 2021-04-29 at 16.13.27.png
          46 kB
          Alexandr KIRILOV
        3. Screenshot 2021-04-29 at 16.52.24.png
          243 kB
          Alexandr KIRILOV
        4. Screenshot 2021-04-29 at 16.53.46.png
          140 kB
          Alexandr KIRILOV
        5. Screenshot 2021-04-29 at 16.56.53.png
          61 kB
          Alexandr KIRILOV
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            bogong Alexandr KIRILOV
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes