[XKB] (mis?)configuration yields invalid data in XGetKeyboardMapping request
Submitted by Christophe Rhodes
Assigned to Xorg Project Team
Description
Following discussion on the portable-clx mailing list (CLX is a Common Lisp implementation of the X client protocol) it is suspected that there is an X server bug. The details of the configuration in question are at URL:http://lists.metacircles.com/pipermail/portable-clx/2004-October/000056.html (I don't understand xkb, but I believe the relevant part is 'adding xkb "type=TWO_LEVEL" for the BKSP key') and the results yield by XGetKeyboardMapping become bogus.
This bug report may be two bugs, because the C Xlib bindings hide this problem by calling KeyCodetoKeySym for each entry in the keyboard mapping, rather than trusting the server's response to XGetKeyboardMapping; while this is possibly more robust, it increases the number of server round trips.