Scaling factors for high DPI screens are sometimes applied twice

Bug #1316734 reported by Martin Wimmer
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
New
High
Unassigned
Trusty
New
Undecided
Unassigned
Unity
New
Undecided
Unassigned
unity (Ubuntu)
Confirmed
High
Unassigned
Trusty
New
Undecided
Unassigned

Bug Description

I have a high DPI screen, and thus configured Unity to scale everything by a factor of 1.62 (Under Settings -> Display). Sometimes after logging in the text is suddenly much larger than before, and this change persists even after reboot. I was able to get back normal font sizes by modifying text scaling in unity tweak.

I'd have to look at this again the next time this happens, but if I understand this correctly then sometimes the scaling factor is re-applied to the text scaling in cases where it was already applied before, thus scaling the text by 1.62*1.62 instead of only 1.62 as it should be.

Revision history for this message
Martin Wimmer (martin-wimmer) wrote :

Problem occured again today. I attached a screenshot to show this. As I suspected, the scaling factor is reapplied to text scaling so that text is suddenly scaled by a factor of 2.64 instead of 1.62.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Yu Ning (yuningdodo) wrote :

This issue is also reproduced in my 14.04 box.

In the unity-control-center I set scale factor to 1.5, before the issue happen I checked some gsettings items:

gsettings get org.gnome.desktop.interface text-scaling-factor
1.5
gsettings get com.canonical.Unity.Interface text-scale-factor
1.0

then after several times reboot the issue is reproduced (I guess logout and login will also trigger it), the effect is just like Martin's screenshot. Now the two gsettings items are changed to:

gsettings get org.gnome.desktop.interface text-scaling-factor
2.25
gsettings get com.canonical.Unity.Interface text-scale-factor
1.5

I can manually restore it by below command, however the issue still will be reproduced sooner or later.

gsettings reset com.canonical.Unity.Interface text-scale-factor

Ara Pulido (ara)
Changed in unity (Ubuntu):
importance: Undecided → High
Changed in oem-priority:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.