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

Windows: Fix High DPI issues

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.4.0
    • Component/s: QPA: Windows
    • Labels:
      None
    • Environment:

      Windows 7, 8.1

    • Technical Risk:
      Normal

      Description

      Pending changes:

      • Find out UI scale factor of Window: https://codereview.qt-project.org/#/c/87716/ for Windows 8.1 . No idea for Win7 yet, might have to check metrics before and after setting DPI awareness (see version 1 of that patch). Is this actually need; is there a point returning a DPR for a screen in case Windows does the scaling?

      Things to do:

      • Some machines fail to set DPI awareness: SetProcessDpiAwareness failed: "COM error 0x80070005 (Unknown error 0x0ffffffff80070005) (also observed in autotests when calling it repeatedly).

      Various oddities:

      • With a scale factor of 100%, setting DPI awareness to 0 does not have any effect. It defaults to 2.

      Done changes:

        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:
              kleint Friedemann Kleint
              Votes:
              7 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: