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

Widget Styles: Per-Monitor DPI Aware inconsistency

XMLWordPrintable

      On windows, Qt is by default, "Per-Monitor DPI Aware", as described there:
      https://doc-snapshots.qt.io/qt5-5.4/highdpi.html

      But QStyleHelper::dpiScaled(qreal value) which is used in many places of Qt, relies on the primary screen's DPI, not on the effective device DPI (as qt_effective_device_pixel_ratio does, (see qtbase\src\gui\image\qicon.cpp:118).

      This means, for example, in a setup with one UltraHD screen and one standard screen, sizes are not proper on the non-primary screen.

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

            Unassigned Unassigned
            jirauser26727 user-04d21 (Inactive)
            Votes:
            13 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes