GNOME Bugzilla – Bug 789794
Switching user changes keyboard layout to first in the list, icon in top bar disagrees
Last modified: 2021-07-05 14:29:31 UTC
Fedora 26, GNOME 3.24.3 I have two keyboard layouts: 1. UK and 2. US. When switching user session (Ctrl-Alt-N) the layout always returns to layout (1) regardless of what was previously in use. In contrast and confusingly the icon in the top bar displays the last used layout even though it may now not be in use. So: Switch to user 1: Ctrl-Alt-1. Change layout from UK to US. All fine, icon in top bar says US Switch to user 2: Ctrl-Alt-2 Switch back to user 1: Ctrl-Alt-1. Layout in top bar shows US, typing reveals keyboard is in fact on UK. Switch to UK layout, then back to US fixes it. So I guess where the bug is depends on intended behaviour: * If intended behaviour is always to switch to first layout when switching user then the icon should update: so the bug is with the layout icon * If the last-used keyboard layout should be preseved when switching user then the bug is in whatever restores keyboard layout
Is the layout same in the Shell UI and in clients? Does this happen only when on Wayland? If so, does applying the second patch in bug 789300 help?
Confirmed only happens under Wayland, I will try the patch next. I'm not familiar with the terminology in your first question: shell UI versus clients. Do you mean is the same layout in effect in GNOME shell versus any applications like LibreOffice (for example)?
(In reply to Ian from comment #2) > Confirmed only happens under Wayland, I will try the patch next. > > I'm not familiar with the terminology in your first question: shell UI > versus clients. Do you mean is the same layout in effect in GNOME shell > versus any applications like LibreOffice (for example)? Right. For example, is it the same in the search field in the GNOME Shell overview and in for example gedit.
Yes - it's the same layout in both. To try the patch I see I will have to try and build Wayland - a first for me, this may take some time.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.