Bug 246301

Summary: when keyboard layout switching policy is window, screen saver password should be treated as own window
Product: kscreensaver Reporter: Alon Bar-Lev <alon.barlev>
Component: kcheckpassAssignee: kscreensaver bugs tracking <kscreensaver-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: arysin, aspotashev, dhameoelin, mgraesslin, prodoomman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alon Bar-Lev 2010-07-30 20:00:34 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

When keyboard layout switching policy is window, the password dialog should keep its layout, however it takes the layout from the active window.

Reproducible: Always

Steps to Reproduce:
1. Go to system settings->Country/Regional & Languages/Keyboard Layout/Switching Options
2. Select Switching Policy = Window
3. Open application.
4. Set layout to en
5. Lock
6. Unlock, notice layout is en.
7. Set layout to il
8. Lock
9. Unlock, notice layout is il, while expected to be us

Actual Results:  
The layout of the unlock password dialog is of the active window before the lock.

Expected Results:  
The layout of the unlock password dialog should be kept as any other window and not be effected by any other window.
Comment 1 ZimniY 2010-11-18 10:57:44 UTC
The layout of the unlock password dialog should be always kept as US. Imho
Comment 2 Andriy Rysin 2010-11-20 00:24:46 UTC
(In reply to comment #1)
> The layout of the unlock password dialog should be always kept as US. Imho

Can't do US as many users don't use default variant for US layout and many users don't even use US for their default layout.
Comment 3 Alexander Potashev 2010-11-20 00:27:23 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > The layout of the unlock password dialog should be always kept as US. Imho
> 
> Can't do US as many users don't use default variant for US layout and many
> users don't even use US for their default layout.

It's better to make the default KScreenSaver's layout configurable (separately from the KDE-wide default layout).
Comment 4 Andriy Rysin 2010-11-20 01:24:19 UTC
Seems that switching to screensaver does not generate "window changed" event, so I am not sure how easy it is to provide separate layout for lock dialog. I guess there might be some "lock screen" event but that will take some time to research. So if anybody knows how to do that please let me know.
Comment 5 Vadim 2013-10-21 15:55:56 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 Martin Flöser 2015-01-23 13:10:03 UTC
The screen locker architecture changed with Plasma 5. The classic screen savers are no longer supported. The 4.x series won't see any further feature development, so this bug report won't be implemented as it doesn't apply to our current version any more.

I want to thank you for your bug report and for helping improving the quality of our software and I'm sorry that we were not able to provide a fix before we retired the affected component.