FS#29123 - [xorg-xkbcomp] mouse events under non-English keyboard layout

Attached to Project: Arch Linux
Opened by Roman Kosenko (kite) - Monday, 26 March 2012, 16:37 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 06 June 2012, 08:46 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No


xorg-xkbcomp 1.2.4 is broken and should be reverted to 1.2.3 or patched with compat.diff (from attach).

Steps to reproduce:
Install xorg-xkbcomp 1.2.4, restart X11, set Russian keyboard layout, compile and run x.c (from attach), make right-click of window (without pressing any key on keyboard).
In any keyboard layout it should print in stdout:
button press event state: 0
button release event state: 1024
But XCB sets wrong modifier bits (XCB_MOD_MASK_5, XCB_MOD_MASK_CONTROL) for mouse click in some non-English layouts compiled with xorg-xkbcomp 1.2.4.
   x.c (2.3 KiB)
   compat.diff (0.8 KiB)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 06 June 2012, 08:46 GMT
Reason for closing:  No response
Additional comments about closing:  I assume this is an upstream bug.
Comment by Roman Kosenko (kite) - Monday, 26 March 2012, 16:42 GMT
Bug is related to Extra Packages, not Community Packages. How to move it?
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 27 March 2012, 06:30 GMT
No worries. Changed category and assigned to the current maintainer.
Comment by Andreas Radke (AndyRTR) - Sunday, 20 May 2012, 08:19 GMT
There's no commit in git after the release. Please report this bug upstream so we can see this is a proper solution!