Bug 260912

Summary: wrong keyboard layout on locking screen
Product: [Unmaintained] kscreensaver Reporter: Paul Pogonyshev <pogonyshev>
Component: generalAssignee: kscreensaver bugs tracking <kscreensaver-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: arysin, kirelagin, silver.salonen, steaveball
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paul Pogonyshev 2010-12-21 20:44:52 UTC
Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

I use "Application" keyboard layout switching policy.  It works normally, except when locking screen.  As screen locker is a separate application (or at least looks so from user's perspective), it should have its own active layout and it shouldn't depend on whatever application was focused before locking the screen.



Reproducible: Always

Steps to Reproduce:
- Enable at least 2 keyboard layout and choose "Application" switching policy;
- have e.g. Firefox focused;
- make sure Russian (not the default) layout is active;
- lock the screen;
- observe that Russian layout is still active.

Actual Results:  
Russian layout is still active

Expected Results:  
English (the default) layout is active.

This bug is annoying because in the screen locker I need to enter the password which obviously requires having the correct layout active.

Additional problem is that layout switching shortcut (customized to Win+space here) ceases working in screen locker.  I guess this might be related to shortcuts' not working in popups.
Comment 1 Nikolay Golub 2014-03-04 10:03:03 UTC
Any updates on this? this problem is still actual!
Comment 2 Kirill Elagin 2014-04-21 15:25:14 UTC
I confirm this in 4.11.5 with “Window” switching policy.
Comment 3 Silver Salonen 2014-04-21 17:50:14 UTC
*** Bug 312260 has been marked as a duplicate of this bug. ***
Comment 4 Andriy Rysin 2014-04-22 01:19:50 UTC
I'll see if it can be fixed in KDE5. Unfortunately there's no easy solution for KDE4 (without breaking applet on desktop functionality, see 269661), but I'll take any patch if somebody proposes good solution.

*** This bug has been marked as a duplicate of bug 269661 ***
Comment 5 Kirill Elagin 2014-04-22 05:00:07 UTC
Ok, I see then why this happens with plasma locker. But why is simple locker affected by this?