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

Windows: Fix High DPI issues

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • 5.4.0
    • None
    • QPA: Windows
    • None
    • Windows 7, 8.1

    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

          For Gerrit Dashboard: QTBUG-38993
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              kleint Friedemann Kleint
              Votes:
              7 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: