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

High DPI scaling not working correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.7.0, 5.12.1
    • None
    • 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

              kleint Friedemann Kleint
              evengard Denis Galkin
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes