fractional scaling corrupts the monitors.xml file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-settings-daemon (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 22.04.4, gnome shell 42.9, wayland (per the "About" screen under Ubuntu settings).
I have two monitors, I set the fractional scaling on each to be 125%. Each has a resolution of 1920 X 1080.
On the left monitor, I have an icon on the desktop appearing in the middle of the monitor. I can move it around on that monitor, but: Something strange happens if I try to move it to one of the three rightmost "columns" of that left monitor. If I try to move it to one of those three rightmost columns on the left monitor, it ends up in one of the three leftmost columns of the right monitor. (But: Attempting to place an icon in one of the three leftmost columns of the right monitor does NOT place it in one of the three rightmost columns of the left monitor - In this case the icon stays on the right monitor where I intend for it to be.) Don't have this problem when the resolution is set at the default of 100% on each monitor.
I have the resolution on each monitor to be 1920 X 1080. When I leave the fractional scaling - under the Ubuntu settings display option - at the default of 100%, in the monitors.xml file the x,y coordinates for the two monitors are exactly as I'd expect them to be: viz., 0,0 for the left monitor, and 1920,0 for the right monitor. However, when I change that fractional scaling setting from 100% to 125% on each monitor, and leave the resolution on each monitor at 1920 X 1080, the x,y coordinates automatically get changed to 0,0 and 1536,0. My simplistic understanding is that this change effectively makes the left monitor get cutoff at 1536 instead of at 1920, basically moving the rightmost 20% of that monitor's x dimension to be treated as part of the right monitor's x dimension. If I manually fix the x,y coordinates in the monitors.xml file, then at next reboot the fractional scaling is automatically reset to 100% on each monitor. I obviously do not understand the relationship between fractional scaling and monitor dimensions in the monitors.xml file. (Incidentally, in gnome tweaks under the font setting I have throughout all this left the scaling option at the default of 1.0. Don't know how, if at all, that interacts with the fractional scaling in the Ubuntu settings.)
Why is this happening?
How do I fix this problem?
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/2066516/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]