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

Window drawn elements not scale on dpiawareness=2 when using different dpi screens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.12.4
    • QPA: Windows
    • None
    • Windows

    Description

      When setting the qt.conf file with dpiawareness=2, the window draw elements, such as titlebar will not be scaled.

      This can be observed by having two screens with diferent dpi and change the app between screens.

      There is already a issue open that suggests to do this, but right now this appears more as a bug.

      https://bugreports.qt.io/browse/QTBUG-68712

      This can be observed by creating a default app and put the qt.conf with dpiawareness=2.

      The qt.conf should be placed where the app is generated, near the .exe file.

      Below I will attached the project and prints.

      Attachments

        1. titlebarscale.png
          titlebarscale.png
          18 kB
        2. testdpiawareness.zip
          4 kB
        3. scale 2.png
          scale 2.png
          2 kB
        4. qt.conf
          0.0 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kleint Friedemann Kleint
              ruiteixeira Rui Teixeira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes