Apache OpenOffice (AOO) Bugzilla – Issue 12636
Keyboard layout shouldn't depend on LC_*
Last modified: 2010-10-23 15:34:10 UTC
It is widely reported to people complaining that they're having keyboard problems (like dead keys not working), that they are probably running OOo in the wrong locale. And this is true: for example, I have a Swiss French keyboard, and dead keys only work if I set LC_ALL to fr_CH. The problem is: this is dead wrong from a design point of view. The LC_* environment variables are meant in the POSIX standard to define the _output_ language, they have _nothing_ to do with keyboard layout. OOo should use the keyboard layout defined by the X server and stick to it. Imagine that I have a PC in front of me with a Polish keyboard, but I'm speaking French. What has the keyboard layout to do with the displayed language ? Nothing ! In the current state, OOo is the _only_ application in the world using the LC_* variables to specify the keyboard layout, and that's definitely not a feature.
IMHO, X-Windows based implementations should use XLookupString or something similar to translate keypresses into characters, taking into account the current X server keymap.
Actually they should use X's default input mechanism to convert keys into characters, whatever this mechanism is (input methods,...)
reassigend to jw
closed due the long time of inactivity please feel free to reopen this issue if this error still occurs on your system with the latest office release
wfm -> closed
Created attachment 72549