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

[regression: 5.13 -> 5.14] HiDPI broken on Linux with Xft.Dpi

    XMLWordPrintable

Details

    • Linux/X11

    Description

      Hello,

      Arch Linux upgraded its packages to 5.14, which seems to have broken Xft.dpi-based DPI handling.

      I attached two screenshots of the same app, shown with three DPI settings (96, 144, 192).

      Notice that for DPI == 144 in 5.13 every icon, widget, QGraphicsScene and text is scaled properly, while on 5.14 only the text is scaled.

      For DPI == 96 and 192 it works fine because I guess that we get an actual devicePixelRatio == 1 or == 2 ?

      Attachments

        1. dpiscaling-qt513.png
          dpiscaling-qt513.png
          272 kB
        2. dpiscaling-qt514.png
          dpiscaling-qt514.png
          271 kB
        3. repro-hidpi-514.tar.gz
          595 kB

        Issue Links

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              jcelerier Jean-Michaël Celerier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: