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

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

XMLWordPrintable

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

      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.

        1. testdpiawareness.zip
          4 kB
          Rui Teixeira
        2. qt.conf
          0.0 kB
          Rui Teixeira
        3. scale 2.png
          2 kB
          Rui Teixeira
        4. titlebarscale.png
          18 kB
          Rui Teixeira
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes