Red Hat Bugzilla – Bug 126739
[PATCH] AltGr combinations don't work with some X servers
Last modified: 2007-11-30 17:07:02 EST
The problem occurs with some X servers like Hummingbird, ReflectionX
The X server is connected to a Linux server running GDM via XDMCP.
When the server is configured to use the Swiss German keyboard layout,
Swiss French, or the France French for the matter), it is impossible
any of the Mode_Switched characters within GTK based applications.
applications such as XTerm, Emacs operate correctly. A simple test is that
entering AltGr+7 should output a pipe '|'. When gnome-terminal is run with
XFree86 this works, but with ReflectionX it fails.
After thorough investigation this problem has been tracked down to a
bug in the
GDK keyboard translation code. This assumes that the value of
keysyms_per_keycode returned by the XGetKeyboardMapping method is an even
number. On ReflectionX with SwissGerman keyboard layout the value is
breaking the code which does lookups into the keycode -> keysymbol map
Mode_Switch (AltGr) is pressed.
Patch attached below.
Created attachment 101413 [details]
Added to the blocker candidates.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.