GNOME Bugzilla – Bug 786919
Cannot have fractionally scaled monitor at the top/left of another monitor
Last modified: 2017-08-28 16:59:50 UTC
I am unable to position a fractionally scaled monitor to the top or left of a non-scaled one. In this particular case I have two monitors with 2560x1440px (internal laptop screen and connected using HDMI). The internal laptop screen should be scaled to around 150% for the sizes to be similar. The dialog allows me to select 100%, 150%, 176%, 200% and 225%. 100% and 200% work as expected but if I select any other size I cannot apply. g-c-c logs the following error message: display-cc-panel-WARNING **: Config not applicable: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Logical monitors not adjacent
Created attachment 358607 [details] [review] display: Round scaled logical monitor sizes the same way mutter does Mutter uses round() while we are just truncating via the implicit double -> int type conversion, meaning that mutter will reject some configurations that should work. Fix that by using the same rounding as mutter.
Attachment 358607 [details] pushed as a4a243c - display: Round scaled logical monitor sizes the same way mutter does