Wayland: maximized windows extend under panels after changing monitors configuration, screen blanking, or suspend/resume
Affected version
- Mutter 3.38.3 and newer (still reproducible in 45.x), Wayland version
- Distro independent (Arch Linux, Fedora, etc.)
Bug summary
After the monitor had been automatically turned off (blanked) and then woken up, some maximized windows are partially obstructed by panels created by shell extensions (happens with Window List from https://gitlab.gnome.org/GNOME/gnome-shell-extensions/ or Dash to Panel https://github.com/home-sweet-gnome/dash-to-panel).
It only happens in Wayland session. And only with Wayland native apps (apps running under XWayland are not affected).
Steps to reproduce
- Login into Wayland session
Enable Window List extension- Open gedit, maximize its window
- Wait until monitors turn off
- Wake them up by moving the mouse/pressing a key
Edit by @jfft, alternate reproduction steps:
- Login into Wayland session, with multiple monitors (i.e. a laptop screen and an external monitor)
- Have some maximized windows around
- Close the laptop lid (effectively changing the monitors arrangement to single-monitor)
What happened
Gedit's status bar is now covered by Window List panel
What did you expect to happen
Gedit's status bar should not be covered - the window should keep its size
Relevant logs, screenshots, screencasts etc.
Before screen blanking:
After:
Edited by Jeff Fortin