[Xcb] [Bug 93701] xcb_xkb_get_names reply always returns "us" layout until XCB_XKB_NEW_KEYBOARD_NOTIFY detects first keypress

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 7 13:10:18 CET 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93701

--- Comment #4 from Ran Benita <ran234 at gmail.com> ---
>From what you describe, it is likely a server bug (or not a bug). My guess is
that for some reason you initially get the default RMLVO (XKB configuration)
for the core keyboard device. The default is US (unless it is changed in the
xserver build ./configure). You can try to trace back the callers of this
function:
http://cgit.freedesktop.org/xorg/xserver/tree/xkb/xkbInit.c?id=e6b106715f24112d1dc7a84c6e37df4b5debb2d0#n112

You say that you set the XKB config through localctl, which IIRC writes an
xserver config file with the RMLVO. This means you should be getting the
correct keymap right from the start. But there might be some lazy
initialization or race condition or maybe it's intentional.

I don't have time to investigate myself, but maybe that helps. In any case I
suggest you move the bug to the server component.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/xcb/attachments/20160207/e42ae462/attachment.html>


More information about the Xcb mailing list