shell freeze when right-clicking dock icon without mapped window
Affected version
- Your OS and version: Ubuntu 20.04
- Affected GNOME Shell version: GNOME Shell 3.36.2
- Does this issue appear in XOrg and/or Wayland: Wayland
Bug summary
When right-clicking on a client icon of a client without mapped window in the dock, GNOME Shell freezes entirely. I am even unable to switch to another VT for debugging.
This appears only with an extension, not in the original GNOME "dock", but it severely impacts the usability. The desktop should under no circumstances block/freeze and force a reboot.
cc @vanvugt because this severely affects the default Ubuntu configuration.
Steps to reproduce
- install the
Dash to Dock
extension or just use the standard Ubuntu dock - download/compile example: libdecoration_gnome_shell_dock_bug.tar.xz
- run the
libdecor-egl
example:./build/demo/libdecor-egl
- right-click on the new icon in the dock:
What happened
Literally nothing... The PC has to be restarted via the SysRq keys.
What did you expect to happen
GNOME Shell should handle or ignore whatever error is caught and continue operating.