GNOME Bugzilla – Bug 564337
Windows should stay in place when a second monitor is added
Last modified: 2020-11-06 20:06:05 UTC
1. Plug in a second monitor. 2. Use gnome-display-properties to enable the second monitor, and place it on the *left* of your first monitor. 3. Click Apply in gnome-display-properties. You'll see that the desktop grows, and Metacity leaves windows at the same (x, y) offsets as they were. However, since the leftmost monitor is now the one at (0, 0) in the root window, the windows have effectively "changed monitors". Metacity should keep windows anchored to their monitor when the monitor configuration changes. (When a monitor is removed, Metacity seems to move the windows that were in it by simply making them fit in the remaining monitor... it would probably be better to adjust their positions so that a window that was at (200, 300) with respect to its removed monitor would als appear at (200, 300) in the remaining monitor).
Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=510123
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years. If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/metacity/-/issues/ Thank you for reporting this issue and we are sorry it could not be fixed.