Bug 58163 - keyboard layouts don't switch (get stuck at russian)
Summary: keyboard layouts don't switch (get stuck at russian)
Status: RESOLVED WORKSFORME
Alias: None
Product: kcontrol
Classification: Unmaintained
Component: kcmkeyboard (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Patrick Dowler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-06 00:30 UTC by Paul Pogonyshev
Modified: 2003-07-11 14:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Pogonyshev 2003-05-06 00:30:08 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2 
OS:          Linux

When i select an additional keyboard layout (russian), KDE stucks in typing russian characters.
No matter how i switch layouts - with a shortcut or using the icon in kicker it keeps typing
russian letter. The icon reflects the change.

I installed Red Hat 8.0 with KDE 3.0 and got this bug. Since then i compiled and installed
X-System 4.3.0 and cvs version of KDE, but i can't get rid of it.

I'm not using any internationalization (all programs are in english) but i need to type in russian
from time to time.

I'm sure this is a configuration problem or something, otherwise your bug system would be
flooded with such reports. But can you suggest me anything? I really don't know what to do.
Comment 1 Gabriel Ripoche 2003-05-06 18:58:25 UTC
I experience the same problem with French layout.

If I select "additional layouts" (and then activate both US and French maps) in
KControlCenter, when I switch to French (globally), I cannot revert back to the
default en_US map. The keyboard layout applet does show the intended layout, but
the keyboard map is not modified.

The only way I found to prevent this is to unselect multiple layouts and restart
KDE (quite a drag since I usually switch layouts quite frequently...).

My system is a Gentoo Linux, XFree 4.3.0, and KDE 3.1.1 from source. No i18n.
I had the same problem with KDE 3.1. However, I don't recall any such thing with
KDE 3.0 or earlier.
Comment 2 Lubos Lunak 2003-05-06 19:15:08 UTC
I think this could be a duplicate of bug #55866. 
 
Comment 3 Paul Pogonyshev 2003-05-06 22:44:14 UTC
I've looked at 55066. setxkbmap does work for me, but you must agree it's not a perfect way 
to switch keyboard layouts. 
 
If it is really an X bug, can somebody who does understand what is going on yell at them? 
There seem to be no such reports yet in their bugzilla. Just if i go there and say "you know, i 
have problems with kb layouts in KDE, but they say it's your bug" i doubt they will do anything. 
Quite a while has passed since 4.3.0 was released but there are even no fixes on their ftp 
server. 
 
Comment 4 Gabriel Ripoche 2003-05-06 22:54:20 UTC
Actually, comment 7 in bug #55866 mentions that a fix was checked in. I can't afford 
pulling KDE from CVS and recompiling right now, but if someone can tell which files 
were patched, I might give it a try. 
Else, I guess I'll settle for 'setxkbmap' until the next release... 
 
Comment 5 Paul Pogonyshev 2003-05-07 22:23:45 UTC
The fix works. Thanks to Andriy Rysin. I'm closing the bug. 
Comment 6 schussma 2003-07-11 03:47:00 UTC
What fix?  How do I apply that to my system?

The Andriy Rysin message does not tell me specifically how to get my switcher
working.  What file needs editing?

Please help.
Comment 7 Paul Pogonyshev 2003-07-11 14:42:06 UTC
I'm not sure what files it affected, but it must be somewhere in kdelibs/.  
  
You need to either update your KDE snapshot with CVS and recompile it or download KDE 
3.1.2. Unfortunately, KDE takes ages to compile, but this bug is certainly worth it. 
 
And i recently discovered that GNU Emacs has really _perfect_ way of switching between 
keyboard layouts (input methods) :) Unfortunately, you cannot use that method in KDE :(