Hiding a fullscreen (F11) window causes it to center improperly
Affected version
Gnome 45.2 on Wayland, Fedora Linux 39, without any extension (extensions toggle disabled) It might be useful to know I have an AMD Radeon 640M gpu, however this was reproducible on intel graphics.
Bug summary
Whenever I enter full-screen mode with a wayland-native program (in this case I'm launching VSCode with wayland ozone flags) using the F11 key, and I then proceed hiding the window with the Super + H window shortcut, the window's surface gets shifted down and right by half the monitor height and width respectively. This only seems to happen when the window is re-shown via the overview. I could reproduce this on multiple machines with separate installations of Fedora linux with Gnome for wayland.
This is a big issue because some programs such as osu! hide themselves whenever unfocused, and it causes them to be unusable until relaunch.
Steps to reproduce
Step 1. Open a program that allows for full-screen to be entered using F11. For example: Firefox, VSCode, Signal, osu!. Step 2. Enter full-screen pressing F11 Step 3. Hide the window with Super + H, or whatever shortcut is set for that. Step 4. Open the overview of windows by pressing Super
What happened
You can notice the window is shifted downwards and right, and the rest of the surface is filled with black. Clicking on it to focus it and exit the overview doesn't fix the issue.
What did you expect to happen
The window to look "normal" ie. not be shifted.
Relevant logs, screenshots, screencasts etc.
Please note that Signal, the third application, already seems to have a messed up state when entering full-screen, and I believe that's a separate issue. However, the effect of it getting shifted down and right still happens regardless.