After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 721615 - xsettings: Scale windows based on primary monitor
xsettings: Scale windows based on primary monitor
Status: RESOLVED DUPLICATE of bug 709859
Product: gnome-settings-daemon
Classification: Core
Component: xsettings
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2014-01-06 05:47 UTC by md143rbh7f
Modified: 2014-01-06 14:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
xsettings: Scale windows based on primary monitor (2.40 KB, patch)
2014-01-06 05:47 UTC, md143rbh7f
none Details | Review

Description md143rbh7f 2014-01-06 05:47:30 UTC
Currently windows are scaled based on the first monitor in the screen. However, if (first monitor is high DPI) XOR (primary monitor is high DPI) is true, then the primary monitor gets scaled incorrectly. I propose that we scale windows based on the primary monitor, since the user explicitly set a monitor as primary, then presumably he or she wants it scaled properly.

In an ideal world, we'd also be able to scale windows in each monitor differently, but I'm under the impression that this is not possible right now.
Comment 1 md143rbh7f 2014-01-06 05:47:31 UTC
Created attachment 265420 [details] [review]
xsettings: Scale windows based on primary monitor

Currently windows are scaled based on the first monitor in the screen. However, if (first monitor is high DPI) XOR (primary monitor is high DPI) is true, then the primary monitor gets scaled incorrectly. I propose that we scale windows based on the primary monitor, since the user explicitly set a monitor as primary, then presumably he or she wants it scaled properly.

In an ideal world, we'd also be able to scale windows in each monitor differently, but I'm under the impression that this is not possible right now.
Comment 2 Bastien Nocera 2014-01-06 12:25:47 UTC
This is still missing actually monitoring the screens for changes. Eg. when the primary monitor changes (if it was on an external screen that got disconnected) you need to recompute this.

There are more patches in bug 709859, so marking it as a duplicate.

*** This bug has been marked as a duplicate of bug 709859 ***
Comment 3 md143rbh7f 2014-01-06 14:13:16 UTC
Got it, thanks.