Discovered that it's not related solely to keyboard switching: focus loss occurs when pressing any bound shortcut, for example volume up/down. So, it is in 'media-keys' unity-settings-daemon plugin, not in 'keyboard' plugin.
Also, 'media-keys' controls keyboard layouts only in unity-settings- daemon, upstream gnome-settings-daemon doesn't have code for doing this. break; case BATTERY_KEY: do_battery_action (manager); break; + case SWITCH_INPUT_SOURCE_KEY: + case SWITCH_INPUT_SOURCE_BACKWARD_KEY: + do_switch_input_source_action (manager, type); + break; /* Note, no default so compiler catches missing keys */ case CUSTOM_KEY: g_assert_not_reached (); -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1244090 Title: Pressing keyboard shortcut to switch keyboard layout causes temporary loss of focus To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-settings-daemon/+bug/1244090/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs