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 Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1917926 Title: Window focus issues in 3.38.3-3ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1917926/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs