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

Qt applications do not adapt to changing DPI scaling factor on Gnome

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15
    • 5.9.1
    • QPA: X11/XCB
    • I am on Debian testing amd64, using the distro packages for Qt 5.9.1. My DE is Gnome 2.26.

      I observed the described behavior with Kate and the Quassel client.

      I hope I picked the right components. this was mostly a guess.

    Description

      I am working on a 4K laptop that is regularly connected to a full HD screen (with the internal screen disabled when an external screen is connected(. Every time I (dis)connect the screen, the DPI scaling changes between 100% and 200%. Gtk3 applications adapt to this just fine, but applications written in Qt do not – they keep using the scaling factor they were started with. That is, if I start a Qt application in high DPI mode, it looks way too big when switching to low DPI, and when I start the application in low DPI mode, it looks way too small in high DPI.

      Attachments

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              ralfjung Ralf Jung
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes