Bug 34921 - impossible to switch locale when screen is locked
Summary: impossible to switch locale when screen is locked
Status: RESOLVED FIXED
Alias: None
Product: kscreensaver
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kscreensaver bugs tracking
URL:
Keywords:
: 28736 44969 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-15 01:18 UTC by okornil
Modified: 2008-05-19 17:59 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
quick fix (1.04 KB, patch)
2005-04-02 17:24 UTC, Andrey Golovizin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description okornil 2001-11-15 01:12:42 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kcontrol
Version:           KDE 2.2.1 
Severity:          normal
Installed from:    SuSE RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

Default shortcuts for switching locales (Ctrl+Alt+K) and locking the screen (Ctrl+Alt+L) are not very well chosen. It is easy to mistype the letter end lock the screen while switching locale. The bad thing is that if locale isn't english (russian in my case) it is impossible to unlock the screen. And locale couldn't be switched while screen is locked. 

I would ask both to change defaults so that they cannot be mistyped easily and to enable switching locales while screen is locked.

Additionaly it would be nice to be able to make shortcuts similar to old ones. For example: LeftShift+LeftCtrl
Now there is no difference between left and right modifiers and it is impossible to use modifiers only without any other key.

Thank you in advance

Oleg Kornilov <okornil@gwdg.de>

(Submitted via bugs.kde.org)
Comment 1 Thiago Macieira 2003-03-13 21:15:04 UTC
*** Bug 28736 has been marked as a duplicate of this bug. ***
Comment 2 Ellis Whitehead 2003-03-23 09:14:26 UTC
The shortcuts are sensibly distanced in the alternate shortcut scheme.  I don't think I 
can reasonable change the default, though.  The best solution would probably be to 
explicitly allow the users to select the language in kdesktop's lock() function.  As to the 
LeftCtrl+LiftShift combo, there have been a couple other requests for that too, but it will 
be a while before I can get to it. 
Comment 3 Chris Howells 2003-04-22 22:55:52 UTC
*** Bug 44969 has been marked as a duplicate of this bug. ***
Comment 4 Lubos Lunak 2003-05-05 15:10:10 UTC
I think kdesktop_lock's dialog could get action 'reset keyboard layout to US', which would 
merely do 'setxkbmap us' (and when exiting, possibly do DCOP call to kxkb, in case it's 
running, so that kxkb will re-activate the layout that was active before screensaver was 
started). 
Any volunteers? 
 
 
Comment 5 Andriy Rysin 2003-08-28 09:45:18 UTC
I was thinking about reparenting kxkb to kdesktop_lock and then back but not
sure if it's possible, any easy way to do that?
Comment 6 Andriy Rysin 2003-09-19 03:53:02 UTC
kxkb has two DCOP calls now to reset layout to 'us' and restore last used one
back. Please use it in kdesktop when locking and unlocking the screen.
Comment 7 Andriy Rysin 2003-10-09 09:35:48 UTC
password dialog resets layout to US and if unlock is successful restores
previous layout. This does not help if password is not in latin letters, though
putting kxkb in kdesktop_lock is little bit complicated.
Hope most people keep their passwords in latin script.
Comment 8 Andriy Rysin 2003-10-09 18:12:02 UTC
not acceptable solution, reverting and reopening
Comment 9 Andriy Rysin 2003-10-22 10:09:04 UTC
ok, second try
if kxkb is running, desktop lock now has simple text button with ability to switch layouts through dcop calls to kxkb
it seems that adding popup menu, keyboard shortcut and pixmap button for layout switcher is a bit complex so just simple solution for now, especially that lock is security part and also it's so close to feature freeze, but if anyone will implement those features I would appreciate that
please test and report any problems
Comment 10 Andrey Golovizin 2005-03-19 05:41:39 UTC
> please test and report any problems 
Well, it worked fine until I upgraded to KDE-3.4.0. Now that little button won't switch layouts any more. When I press it, it shows `err' and nothing happens.
Comment 11 Andrey Golovizin 2005-04-02 17:24:39 UTC
Created attachment 10481 [details]
quick fix

Here goes a fix. I discovered that password dialog uses that little button's
text to determine current layout. In the new KDE-3.4 that button gets keyboard
shortcut automagically, so its text changes (e.g. "us" -> "&us"). Proposed
solution is to introduce new QString memger for storing layout name.