GNOME 3.38.1 crash when returning to desktop from fullscreen game
Affected version
GNOME 3.38.1 (3.38.1-1ubuntu1
)
On Ubuntu 20.10 w/ latest software:
Xorg session on NVIDIA graphics (any version applies, tested with v390, v435, v440)
Kernel: 5.8.0-26-generic
Bug summary
When pressing the bind for "hiding all visible windows" (By default Super+D on Ubuntu) when a fullscreen graphical application (any steam game, tested with Factorio, Team Fortress 2, CS:GO, Counter-Strike: Source) is in focus, the UI goes back to desktop, locks up for 3 seconds, then goes back to the game view with visual artifacts and finally the shell presumably crashes with the prompt forcing you to logout saying a fatal error has occured.
Additionally, sometimes apps that start fullscreen will instantly crash the GNOME shell after a while without the keybind. This Arch bugtracker report describes it, but I can confirm that this also used to happen to me (and also in CS:GO), though I cannot thoroughly reproduce it anymore. Also had to do something with the fullscreen game minimizing itself automatically after fully launching. https://bugs.archlinux.org/task/68416.
Interestingly, this can also happen in "Fullscreen borderless" (I assume? Because the game is visible in the background but the bug occurs anyways) games like Factorio, if they are visible but another window is focused.
I am not the only one to be encountering this, as seen by my reddit post to make sure it's not just my special conditions or whatever: https://www.reddit.com/r/gnome/comments/jkey5u/gnome_3381_crashes_when_doing_hide_all_normal/
This did not occur in GNOME 3.36.X, as I used to use this bind frequently to minimize games (And all windows), and nothing like this happened to me before.
This happens regardless of any extensions being enabled.
Steps to reproduce
- Launch a fullscreen game.
- Press the "Hide all normal windows" keybind.
- Watch your desktop spiral into confusion and crash into a frown.
What happened
GNOME froze, crashed and forced me to logout, also losing any work I had in the background.
What did you expect to happen
For it not to crash and minimize all visible windows.
Relevant logs, screenshots, screencasts etc.
I can't provide logs. Only the relevant image of how the crash looks from the interwebs.