GNOME Bugzilla – Bug 709557
Lock screen should always use default keyboard layout
Last modified: 2021-07-05 14:36:49 UTC
It is pretty annoying, that the lock screen picks up the keyboard layout of the latest active window. That way I can never be sure which layout is used for password prompt and I have to wait till the keyboard layout indicator is shown on my screen. It would be nice, if lock screen could always use the default layout. That way, I can start typing password without worrying, because I'll know which keyboard layout is in use.
Created attachment 257275 [details] [review] status/keyboard: Allow screen shield to have a per-window input source The screen shield should have its own input source in per-window mode.
Created attachment 257277 [details] [review] status/keyboard: Disable per-window without any valid sources Otherwise we might try to activate an invalid input source. -- This is a separate bug that I noticed while working in this area.
Created attachment 257278 [details] [review] status/keyboard: Make the screen shield per-window source predictable The screen shield is a bit special in that some people want to start typing their password before the monitor even turns on and this might be a long time after the screen locked. Thus, always using the first input source here is more predictable than using the most recently used.
Comment on attachment 257277 [details] [review] status/keyboard: Disable per-window without any valid sources This patch doesn't apply cleanly anymore.
The other 2 patches do apply though.
Hello, Any update on this issue? It is very weird that lock screen receives the keyboard layout of last active windows, had entered password in wrong layout many times.
Besides the convenience, this bug leaks information about what the user was doing before locking the screen. The name of a rarely used layout can be rather revealing.
(In reply to Igor Bukanov from comment #7) > Besides the convenience, this bug leaks information about what the user was > doing before locking the screen. The name of a rarely used layout can be > rather revealing. Can you explain how it's any more of a disclosure than the language of the interface, or the user name shown in the lock screen?
(In reply to Bastien Nocera from comment #8) > Can you explain how it's any more of a disclosure than the language of the > interface, or the user name shown in the lock screen? At work my primary language on the computer is English and everything is done in English or Norwegian. So anybody noticing a Russian layout can see that I was doing something that was not work-related like texting to my family.
Also note that the information leak happens because the lock screen uses the latest used layout, not because it shows my layout list. The latter does not add anything to what people around already know about me. The former, as it is correlated with my actions, reveals what I was doing before locking the screen.
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.