Since 3.36.7 reconnecting an USB keyboards resets the keyboard layout to default. This also happens when using a KVM switch. Kernel is 5.9.11 I have two machines with this problem, both AMD64 (Rayzen and Intel i7) Looks the same like https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1899206
also applies to 3.36.7-r1
Backports to 3.36 branch: https://gitlab.gnome.org/GNOME/mutter/-/commit/1f16a134414747ac378fb5085a99d1ccc8e7a4e2 https://gitlab.gnome.org/GNOME/mutter/-/commit/41434d548858e1f07da045cd3b6b0f10140fcde1 Or we can just wait for 3.36.8. 3.38.2 already has these fixes.
We have newer versions for a long time