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 645028 - Use monitor at center of window to define what monitor a window is on
Use monitor at center of window to define what monitor a window is on
Status: RESOLVED WONTFIX
Product: mutter
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks: 645023
 
 
Reported: 2011-03-17 15:02 UTC by Alexander Larsson
Modified: 2018-02-01 06:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Larsson 2011-03-17 15:02:36 UTC
Right now we use "the monitor with the largest window area on" to define what monitor a particular window is on. This is somewhat problematic in the corner cases. For instance, in certain geometries (like with a small monitor with two larger on each side) its impossible for a sufficiently large window to be on the smaller monitor. This is problematic for e.g. the drop window on a particular monitor in the gnome-shell overview mode.

In almost all normal cases the center pixel metric gives the same result as the largest-area one, and it is faster to calculate too.
Comment 1 Jonas Ådahl 2018-02-01 06:49:13 UTC
It seems unlikely that it makes any sense to put a window more than twice as big as a monitor on that monitor. Now (7 years later) we also can't do it that way on Wayland, meaning the behaviour would be dependent on windowing system, which would be unfortunate. Thus closing as WONTFIX. Please reopen if you disagree.