[Bug] Window is placed outside screen when display is disconnected
Affected version
Provide at least the following information:
- OS and version: Manjaro
- Affected GNOME Shell version gnome-shell: GNOME Shell 41.1, gdm: GDM 41.0
- This issue appears in Wayland
- Extensions in use: Unite, GSConnect, Media Controls, MPRIS Indicator button
Bug summary
When a window that is fullscreen on external display is restored after disconnecting display, they are placed outside the screen.
Steps to reproduce
- Open firefox or a app which allows content to be full screen.
- Connect external display
- Move content to external monitor and make it full screen
- Disconnect the display
- Content is still full screen but now on laptop screen/connected display.
- Restore the window.
What happened
Restored window is positioned outside of the visible screen area and is in practice invisible. Use Win + Arrow keys to move window to active display
What did you expect to happen
Window position is changed to be on visible screen area