scaling changes when closing/re-opening the lid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
New
|
Undecided
|
Unassigned | ||
mutter (Ubuntu) |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Bionic |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Focal |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) |
Bug Description
[ Impact ]
scaling changes when closing/re-opening the lid. Seen in bionic.
My scaling is set to 100%, but the laptop is considered highdpi by mutter, and during suspend/resume it changes back to default ignoring settings.
$ xprop -spy -root RESOURCE_MANAGER
[...]
RESOURCE_
RESOURCE_
xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
eDP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
2560x1440 60.00*+ 59.99 59.99 59.96 59.95
[ Test case ]
In a laptop with HiDPI screen, force the scaling to 1:
Run this and close the lid:
xprop -spy -root RESOURCE_MANAGER
Once reopened the value should not change and if it does the `Xft.dpi:\t96` value should stay constant, and not change to 192.
[ Regression potential ]
Wrong resolution is set for the laptop lid
Changed in mutter (Ubuntu): | |
status: | Triaged → Fix Released |
tags: | added: rls-bb-incoming |
no longer affects: | mutter (Ubuntu Bionic) |
Changed in mutter: | |
status: | Unknown → New |
tags: | added: xrandr-scaling |
Changed in mutter: | |
status: | New → Fix Released |
Changed in mutter (Ubuntu Bionic): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
tags: | removed: rls-bb-incoming |
Changed in mutter (Ubuntu Focal): | |
status: | New → Triaged |
tags: | removed: champagne rls-ff-incoming |
tags: | added: bionic focal |
description: | updated |
Changed in mutter (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
Changed in mutter (Ubuntu Focal): | |
status: | Fix Committed → Fix Released |
This has been fixed by
mutter (3.32.0-1ubuntu2) disco; urgency=medium
* debian/ patches/ x11-Add- support- for-fractional- scaling- using-Randr. patch:
- Don't invert the screen size when rotation is enabled (LP: #1822513)
- Remove unneeded cleanup changes
- Use xcb checked function to set scaling to catch errors
- Update screen size only after monitors modes have been derived
(LP: #1822616)
- Trigger a monitors rebuild only if scale has changed (LP: #1823485)
- Only update UI scaling when output scaling is enabled (LP: #1822478)
-- Marco Trevisan (Treviño) Wed, 03 Apr 2019 19:19:59 -0400
I expect this is fixed by https:/ /gitlab. gnome.org/ GNOME/mutter/ merge_requests/ 336 (issue https:/ /gitlab. gnome.org/ GNOME/mutter/ issues/ 407)