modalDialog: complete UI freeze on cancel
Affected version
Up-to-date Arch:
Linux arch 5.11.15-arch1-2 #1 SMP PREEMPT Sat, 17 Apr 2021 00:22:30 +0000 x86_64 GNU/Linux
gnome-shell 1:40.0-1
Running on XOrg, not tested on Wayland
Bug summary
Some modal dialogs completely freeze the UI when cancelling. Possibly non-exhaustive list of the affected dialogs: AudioDeviceSelection and WirelessDialog
Steps to reproduce
For AudioDeviceSelection:
- Plug in headset --> triggers the modal to pop
- Click cancel
- Result in UI freeze
For WirelessDialog:
- Click "Select Network" in the top right menu --> Modal dialog to select wifi netowork pops
- Click cancel
- Result in UI freeze
What happened
The system becomes unresponsive to most keyboard inputs, including shortcuts, escape,... The buttons in the modal are still animated on click and hover, but none of them produce any effect, except in the "AudioDeviceSelection" dialog, where clicking "Sound Settings" does open the sound setting, but "behind" the modal, and it's impossible to interact with it.
Note that cancelling the modal with the escape key (before it freezes, that is) works as expected, it really seems to be the cancel button which is at fault.
While frozen, the only thing I can do is switch to TTY2 and from there pkill xinit
(drastic but I haven't been able to pinpoint which process I should be killing to unfreeze...)
htop doesn't show any hint of infinite loop or the like.
Let me know if I can provide more helpful information.
What did you expect to happen
The modal disappearing when cancel is clicked.
Relevant logs, screenshots, screencasts etc.
No relevant logs, but I can try to film my screen if you believe it would help.