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

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 5.12.4
    • Fix Version/s: None
    • Component/s: QPA: Windows
    • Labels:
      None
    • Platform/s:
      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. qt.conf
          0.0 kB
        2. scale 2.png
          scale 2.png
          2 kB
        3. testdpiawareness.zip
          4 kB
        4. titlebarscale.png
          titlebarscale.png
          18 kB

          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:
              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