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

Wrong device pixel ratio when automatic High DPI is set

    XMLWordPrintable

Details

    Description

      Qt uses a device pixel ratio of 2 instead of 1 on a 14" laptop with a screen featuring a resolution of 1920 x 1080 px and a pitch of 157 dpi.

      Qt reports Screen.pixelDensity = 3.1

      Screen.desktopAvailableHeight and Screen.desktopAvailableWidth looks suspicious (525 960)

      Attachments

        1. qt_scaling_laptop_display.log
          14 kB
          František Zatloukal
        2. qt_scaling_external_display.log
          15 kB
          František Zatloukal
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            fabricesalvaire fabrice salvaire
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes