I'm seeing the same behaviour in a freshly installed Ubuntu 22.04.1 with Wayland, where alt+shift layout switching was enabled with gnome-tweaks. The layout itself switches on alt+shift but the layout indicator is stuck showing the original layout. Switching with the default super+space keybinding updates the layout indicator as well as the layout. So I'm thinking this might be a broader issue, which also includes e.g. https://bugs.launchpad.net/ubuntu/+source/gnome-settings- daemon/+bug/1779327.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1260226 Title: Xorg layout switching shortcut doesn't update indicator Status in Indicator keyboard: Confirmed Status in gnome-settings-daemon package in Ubuntu: Confirmed Bug description: When I press the classic Xorg shortcut of "Alt+Shift" to switch the keyboard layout from English to Greek, the layout changes but the indicator is still showing "En". If I use the new indicator-keyboard shortcut of "Win+Space", then everything is fine. So it appears that indicator-keyboard doesn't detect layout changes caused by the Xorg layout switching shortcuts. I'm including some information: $ lsb_release -sc trusty $ dpkg-query -W indicator-keyboard indicator-keyboard 0.0.0+14.04.20131125-0ubuntu1 $ egrep -v '^#|^$' /etc/default/keyboard XKBMODEL="pc105" XKBLAYOUT="us,gr" XKBVARIANT="," XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll" $ setxkbmap -print xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete+ledscroll(group_lock)" }; xkb_symbols { include "pc+us+gr:2+inet(evdev)+group(alt_shift_toggle)" }; xkb_geometry { include "pc(pc105)" }; }; $ echo $DESKTOP_SESSION gnome-fallback To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-keyboard/+bug/1260226/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

