Windows switch monitor after resuming from sleep
Fedora 32, Mutter 3.36.5, Wayland Dell XPS 9300, 2 heads, external display set as Gnome-Shell primary output
- internal, 4k @ 2x dpi
- external 4k USB-C monitor @ 1x dpi
Windows switch to different monitor on resuming from sleep.
Steps to reproduce
- Connect external monitor
- Start applications on external monitor
- Leave the laptop to go to sleep
- Re-enter password
- Most windows have now moved to different monitors
Upon resuming from sleep, the windows on the desktop have switched between monitors. It seems to be fairly random which monitor a window will end up after resume, and not related to the monitor they were on before.
They retain the size, position from the monitor they were originally on though, just now on the other monitor.
What did you expect to happen
Windows would be on the same screen after resuming from sleep.
The monitor is connected by USB-C, I think this will be powered down during sleep and may be slow to be initialized after sleep. In effect meaning the laptop see's things the USB-C monitor has been disconnected, than reconnected.