This is not the only strange bahviour. The configuration of the input devices under Gnome is completely broken (eg: not all the keyboard keystrokes works and the natural scrolling option for the touchpad does not work).
I don't know at all how gnome-shell/mutter/xorg/wayland/libinput works, but I feel that the solution for https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1690719 might be related to the problem. I also disabled gdm3/wayland (WaylandEnable=false in /etc/gdm3/custom.conf), and after logging in I see the following errors from gnome-shell: --- gnome-shell[1411]: value "nan" of type 'gfloat' is invalid or out of range for property 'x' of type 'gfloat' gnome-shell[1411]: value "nan" of type 'gfloat' is invalid or out of range for property 'y' of type 'gfloat' gnome-shell[1411]: JS ERROR: Exception in callback for signal: shown: Error: Wrong type number; float expected. But it's out of range: -Infinity --- -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1917926 Title: Window focus issues in 3.38.3-3ubuntu1 Status in mutter package in Ubuntu: Triaged Bug description: I switched to an Xorg session in hirsute today after upgrading gnome- shell and mutter packages which just hit the release package. There are very strange focus issues. Clicking on a window doesn't raise it to the front, alt-tab seems to only switch between a subset of the one windows. It's impossible to move windows with the mouse and resizing does not work. This occurred with: gnome-shell=3.38.3-3ubuntu1 mutter=3.38.3-3ubuntu1 Downgrading these packages fixed it: gnome-shell=3.38.3-2ubuntu2 mutter=3.38.3-2ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1917926/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp