Monitor DPI settings are ignored after upgrade to Xenial

Bug #1543546 reported by Michael Marley on 2016-02-09
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)

Bug Description

I recently upgraded my Kubuntu x86_64 system with a HiDPI monitor (24" 4K) from Wily to Xenial. Before I did this, applications using all the toolkits (GTK2, GTK3, Qt4, and Qt5) properly obeyed the DPI value automatically detected from the monitor, causing them to automatically scale to a usable size. However, after upgrading to Xenial, GTK3 applications no longer have this behavior. Instead, they appear at the normal 96DPI size, causing them to be nearly unreadable due to the small size of their widgets.

I am currently using GTK3 3.18.7-1ubuntu2, but the issue has been occurring since I upgraded to Xenial months ago.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed

Ecxuses – just tested bug #1260760 (editing an Ubuntu (gtk+3.0) bug unsets the source)

tags: added: xenial
affects: gtk+3.0 (Ubuntu) → ubuntu
affects: ubuntu → gtk+3.0 (Ubuntu)
Changed in gtk+3.0 (Ubuntu):
importance: Undecided → High
madbiologist (me-again) wrote :

What is the output of

xdpyinfo | grep dimensions


xdpyinfo | grep resolution

Michael Marley (mamarley) wrote :

michael@mamarley-desktop:~$ DISPLAY=:0 xdpyinfo | grep dimensions
  dimensions: 7680x2160 pixels (1060x301 millimeters)
michael@mamarley-desktop:~$ DISPLAY=:0 xdpyinfo | grep resolution
  resolution: 184x182 dots per inch

I should also mention that this bug now only happens for applications running as root, such as Synaptic. Applications run as the normal user display at the correct size now.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers