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

Windows: High DPI scaling is rounded to nearest integer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.9.1
    • Fix Version/s: None
    • Component/s: QPA: Windows
    • Environment:
      Windows 10

      Description

      Application with Qt::AA_EnableHighDpiScaling and dpiawareness=2 seems to round scale factor to nearest integer. For example, 125% is same as 100% and 150% is same as 200%.

      With native applications, like notepad, each scaling factor seems to scale everything (menus and content). In Qt applications, only window title seems to be affected when switching between 100% and 125%.

      It seems to work fine with dpiawareness=1.

        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:
                poikelin Joni Poikelin
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes