Closing after maximizing and minimizing a window makes it always visible, even after closed
Affected version
- OS: Fedora 39
- Affected GNOME Kiosk version:
$ gnome-kiosk --version
Kiosk 45.0
- Does this issue appear in XOrg and/or Wayland: Both
Bug summary
Closing after maximizing and minimizing a window makes it always visible, even after closed.
Discovered by Radek Vykydal as this bug is affecting the Anaconda installer: https://github.com/rhinstaller/anaconda/pull/5417#issuecomment-1905677421
Steps to reproduce
- Run gnome-kiosk. Using
--nested
to make it easy to reproduce, but it happens in a non-nested seesion:
$ gnome-kiosk --nested
- Run weston-terminal in the nested GNOME Kiosk:
$ WAYLAND_DISPLAY=wayland-1 weston-terminal
- In weston-terminal, open any app, using the calculator for this example:
$ gnome-calculator
- Press the maximize button of the calculator window
- Press it again to make weston-terminal visible. This step is not required
- Press the minimize button of the calculator window
- Press the close button of the calculator window
- The calculator process finishes (visible in weston terminal) but it is still visible
What did you expect to happen
The calculator window shouldn't be visible.