[regression] Font scaling not working on gnome startup

Bug #1823793 reported by Juan Pablo Aroztegi
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The font text scaling setting is not being loaded on gnome startup. I have font text scaling set to 1.25. After updating mutter to package version 3.32.0-1ubuntu1 the text scaling setting is not loaded any more when starting gnome. Steps to reproduce the issue:

1) Set your font scaling factor to something other than the default '1'. This can be set, for example, either by using "Gnome tweaks" or with gsettings:

settings set org.gnome.desktop.interface text-scaling-factor 1.25

2) You'll see that the top bar text gets larger.
3) Log out and log in. You'll see that the top bar text and text in general has been reset to the default '1'. The setting is still set to '1.25', but visually it's '1'.

If you set the value to something else, it gets applied correctly, until you log out.

This worked as expected on package version 3.32.0-1. I wonder if this patch listed in the CHANGELOG could have somehow created this side effect:
debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
    - X11: Add support for fractional scaling using Randr

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: mutter 3.32.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1
Uname: Linux 5.0.0-8-generic x86_64
ApportVersion: 2.20.10-0ubuntu25
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 8 13:42:39 2019
InstallationDate: Installed on 2019-04-08 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190408)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mutter
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Juan Pablo Aroztegi (jpabloae) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in mutter (Ubuntu):
status: New → Confirmed
Revision history for this message
Harley A.W. Lorenzo (mrselfdestruct57) wrote :

I did some testing on this too, and after you log back in and everything is visually set back to 1 you have to manually set it back to 1 then back to 1.25 to get the font scaling to work. Setting it to 1.25 immediately results in no change and it staying at 1.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report. This bug is now grouped with:

  https://bugs.launchpad.net/ubuntu/+bugs?field.tag=xrandr-scaling

But I suspect this particular bug might be fixed with the fix for bug 1822478.

tags: added: xrandr-scaling
summary: - Font scaling not working on gnome startup
+ [regression] Font scaling not working on gnome startup
Revision history for this message
Juan Pablo Aroztegi (jpabloae) wrote :

They look related. Fwiw, I'm using Xorg with an Intel video card and the modesetting driver.

Revision history for this message
Juan Pablo Aroztegi (jpabloae) wrote :

Version 3.32.0-1ubuntu2, released today, has fixed the issue for me.

Revision history for this message
Harley A.W. Lorenzo (mrselfdestruct57) wrote :

Version 3.32.0-1ubuntu2 has also fixed the issue for me. I believe it is triaged.

Changed in mutter (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
jswinner (jswinner) wrote :

Regression with same behavior now with 20.04 upgrade from 18.04, Version: 3.36.4-0ubuntu0.20.04.2

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

^^^
That is bug 1892440.

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.