Bug: screen lock window does not respect input-sources/per-window dconf option (screen lock doesn't use individual input source)
Affected version
40, 41, 42
Bug summary
Gnome lock screen uses input source from previous window, instead of switch to main input source or layout (as it happens with most other windows), even when dconf option /org/gnome/desktop/input-sources/per-window
is set to true
.
Steps to reproduce
- Make sure you are using an account with a password
- Add at least two input sources (for example, English (US) and Ukrainian)
- Set dconf option
/org/gnome/desktop/input-sources/per-window
totrue
It's possible via Settings -> Keyboard
- Open any app, switch to second source (Ukrainian)
- Lock screen
- Try to unlock and enter password
What happened
Lock screen uses same input source as previous window (Ukrainian).
What did you expect to happen
Lock screen switch to top input source (English US).
Facts and thoughts on the topic
Most dual langue users uses 2 or more input sources (keyboard layouts), but sets their passwords using top (main) source. Just so you don't run into problems when entering your password, because it works in macos and windows.
This bug is very annoying for people who uses 2 and more layouts with different character types, Latin layout + different from latin (for example US and Ukrainian).
It is not the same to #225. Several solutions were proposed in the discussion of #225. This ticket is a request of the most logical and simple solution from there.
@fmuellner wrote there:
treat gnome-shell as a "window" as far as the
per-window
setting is concerned and check forglobal.display.get_grab_op() === Meta.GrabOp.COMPOSITOR
.
It seems like it should have been from the very beginning.
BTW
In a similar issue and discussions, I noticed a lot of neglect and underestimation of the importance of this bug, that is very sad because it was from those who do not face this problem. If you do not face it, please do not try to devalue this bug. Thousands of people suffer from this bug every day for probably 10 years, so please treat with care and respect