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

The title bar is the wrong size on monitors with different DPI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.7.0
    • QPA: Windows
    • None
    • Windows 10

    Description

      The non client parts of the window are not scaled per-monitor by default on windows, so the title bar is either too big or too small when the window is not on the primary display. Microsoft have added a new 'EnableNonClientDpiScaling' function call to fix this (See: https://msdn.microsoft.com/en-us/library/windows/desktop/mt748621(v=vs.85).aspx).
      It only affects top level windows. Dialogs can be fixed by selectively using 'system' DPI awareness as firefox does (See: https://hg.mozilla.org/mozilla-central/rev/1b782dcb677a)

      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
              patstew Patrick Stewart
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes