After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709557 - Lock screen should always use default keyboard layout
Lock screen should always use default keyboard layout
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: lock-screen
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-07 11:25 UTC by Vít Ondruch
Modified: 2021-07-05 14:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
status/keyboard: Allow screen shield to have a per-window input source (4.07 KB, patch)
2013-10-14 16:15 UTC, Rui Matos
none Details | Review
status/keyboard: Disable per-window without any valid sources (3.05 KB, patch)
2013-10-14 16:16 UTC, Rui Matos
needs-work Details | Review
status/keyboard: Make the screen shield per-window source predictable (2.07 KB, patch)
2013-10-14 16:16 UTC, Rui Matos
none Details | Review

Description Vít Ondruch 2013-10-07 11:25:05 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.
Comment 1 Rui Matos 2013-10-14 16:15:10 UTC
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.
Comment 2 Rui Matos 2013-10-14 16:16:11 UTC
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.
Comment 3 Rui Matos 2013-10-14 16:16:21 UTC
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 4 Bastien Nocera 2014-11-09 17:54:43 UTC
Comment on attachment 257277 [details] [review]
status/keyboard: Disable per-window without any valid sources

This patch doesn't apply cleanly anymore.
Comment 5 Bastien Nocera 2014-11-09 17:55:05 UTC
The other 2 patches do apply though.
Comment 6 Baurzhan M 2017-06-18 11:26:21 UTC
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.
Comment 7 Igor Bukanov 2017-12-14 11:15:02 UTC
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.
Comment 8 Bastien Nocera 2017-12-14 11:48:37 UTC
(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?
Comment 9 Igor Bukanov 2017-12-14 12:03:46 UTC
(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.
Comment 10 Igor Bukanov 2017-12-14 12:13:19 UTC
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.
Comment 11 GNOME Infrastructure Team 2021-07-05 14:36:49 UTC
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.