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

QT_DEVICE_PIXEL_RATIO honored in addition to auto scale factor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.6.0 Beta
    • QPA: X11/XCB
    • None
    • Qt 5.6 Beta on Kubuntu 15.10

      Running a Qt 5.6 application with QT_DEVICE_PIXEL_RATIO=2 and QT_AUTO_SCREEN_SCALE_FACTOR=1 (or if the application enables AA_EnableHighDpiScaling) everything will be scaled twice.

      This can be observed with QtCreator 3.6 (seems to enable high dpi scaling by itself) but also other 5.6 applications like qdbusviewer (here you need to specify both env variables).

      In the screenshot on the left is QtCreator 3.5 from Qt 5.5.1 and on the right QtCreator 3.6 from the Qt 5.6 Beta. Both run under the same user with the same environment.

        1. qtcreatorscalingbug.jpg
          334 kB
          Kai Uwe Broulik
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            paeglis Gatis Paeglis
            broulik Kai Uwe Broulik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes