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

High DPI scaling not working correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 5.7.0, 5.12.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 10, Windows 7, DPI tested from 125% to 175%.

      Description

      This is kind of a "regression" from 5.5 due to the incomplete fix of QTBUG-49195. Due to the usage of

      qRound

      in

      QWindowsScreen::pixelDensity()

      the high DPI scaling isn't working correctly on non-multiples of 96 DPI. This includes often used:
      120 DPI (125% scaling) - rendered as 96 DPI (100% scaling)
      144 DPI (150% scaling) - rendered as 192 DPI (200% scaling)
      168 DPI (175% scaling) - rendered as 192 DPI (200% scaling)

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                kleint Friedemann Kleint
                Reporter:
                evengard Denis Galkin
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes