Comment 14 for bug 1970495

Revision history for this message
pureblood (freeseek) wrote : Re: Window manager freezes when plugging in USB-C dock with external monitor.

I believe I have the same issue. Dell XPS 13 9360 laptop connected to a Dell U3011 monitor using a CableMatters USB-C to Displayport adapter. When I plug my laptop the GNOME shell is almost completely unresponsive. I can use the active window but I cannot switch windows. The only reproducible way I have found to get out of it, other than to reboot, is to unplug the USB-C adapter, logout of the session, re-plug the USB-C adapter and login again. This behavior was not present with Ubuntu 21.10 and it started after updating to Ubuntu 22.04.

I use an X11 session type:
$ echo $XDG_SESSION_TYPE
x11

Using journalctl, output attached, there are many logs from the gnome-shell binary, such as this:
gnome-shell[###]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed
gnome-shell[###]: meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed