displays: fractional scaling resets improperly
A family member recently put Pop!_OS 22.04 onto their Surface Go 1 (Pentium). After feeling like I was resetting the scaling on that thing twenty times, I decided to perform an observation on it to figure out what was going on. Turns out that GNOME Settings's settings for fractional scaling are not sticky; while fractional scaling remains enabled, anything which changes the display state (restarts, suspend, closing the lid, etc) resets the scaling up to 200% (no matter what it is set to - we've been setting to 175% for testing).
This may be difficult to reproduce, so I imagine that any solutions will have to come from looking at sources directly. If there's any debugging on my side requested to fix this, just let me know. I can also provide visuals and even video if desired.
Steps to reproduce:
- Obtain a Surface Go 1 (or equivalent HW)
- Install Pop!_OS 22.04 LTS Intel/AMD or equivalent (ISO version 9 was used for this install, but also appeared on 8)
- Enable fractional scaling and set to a non-200% number (default is set on 200%)
- Trigger a display-off event (such as closing the lid, putting into suspend, etc)
- View how the scaling number has become 200% once again