Summary: | XKB keygrabs broken | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Alex Chiang <achiang> | ||||
Component: | Server/Input/XKB | Assignee: | Daniel Stone <daniel> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | daniel, peter.hutterer | ||||
Version: | git | ||||||
Hardware: | Other | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Proposed patches available here: http://lists.x.org/archives/xorg-devel/2010-October/013901.html http://lists.x.org/archives/xorg-devel/2010-October/013902.html fwiw, this isn't an Xlib bug, it's a server bug. The link in your second patch seems wrong. It's pointing to #32527, while this bug is #30527. commit 649293f6b634e6305b6737a841d6e9d0f0065d6c Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Mon Oct 11 16:09:18 2010 +1000 xkb: always fill the symsPerKey array, regardless of client flags (#30527) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 39093 [details] test case illustrating broken xkb keygrabs This issue and resulting test case are from Havoc Pennington; I'm just forwarding on. Running the test case results in an error on recent libX11. First noticed in Ubuntu Lucid, which ships libx11-6 1.3.2. Today, I was able to test top of tree in git and it also results in the same error: Grabbing keysym 0xff50 keycode 0x6e using xkb Sending map changes to server X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 144 (XKEYBOARD) Minor opcode of failed request: 9 (XkbSetMap) Value in failed request: 0x236e0001 Serial number of failed request: 19 Current serial number in output stream: 20 I tested this in an Ubuntu Hardy chroot, which ships 1.1.3, and it ran successfully: Grabbing keysym 0xff50 keycode 0x6e using xkb Sending map changes to server Bound key OK Xkb event received XkbMapNotify I thought that I could try and bisect this, but building the old version of libX11 was a little tricky, and I couldn't get it going. I was able to verify that it was broken in 1.2, but I couldn't build any of the 1.1.x series. So that should at least help you to narrow it down a little. Thanks.