Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 395249

Summary: x11-base/xorg-server-1.11.2-r2 - Button state in XI2 events is wrong for mapped buttons
Product: Gentoo Linux Reporter: N. Andrew Walsh <n.andrew.walsh>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://patchwork.freedesktop.org/patch/8367/
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=43942
https://bugzilla.gnome.org/show_bug.cgi?id=655928
Whiteboard:
Package list:
Runtime testing required: ---

Description N. Andrew Walsh 2011-12-19 09:36:48 UTC
the present xorg-server (1.11.2-r2 on my system) incorrectly manages mouse events when the buttons are mapped in a different order (for example, setting xmodmap -e "pointer = 3 2 1 ..." for left-handed use). A click on physical button 1 sends a button 3 press, but the state is set for button 1.

This leads to all sorts of wonky behavior when using a mouse left-handed, including gtk apps (Audacious, evince) no longer responding properly to mouse clicks. 

the xorg bug report is here:
https://bugs.freedesktop.org/show_bug.cgi?id=43942

and the patch to fix it is here:
http://patchwork.freedesktop.org/patch/8367/
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-12-19 20:17:43 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=655928#c4
> As a quick workaround, you can set GDK_CORE_DEVICE_EVENTS=1
Comment 2 N. Andrew Walsh 2011-12-20 00:38:46 UTC
I should have answered on that post: that workaround doesn't, like, work for me. Sorry.
Comment 3 N. Andrew Walsh 2012-01-19 17:39:45 UTC
according to the patch I linked in the first post, this bug has been fixed for a month now upstream (but it missed being incorporated into the subsequent gentoo xorg release). Is there another xorg version coming out soon that might incorporate this fix? My pinkie is getting undesireably muscular from all the extra work :(
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-01-30 12:39:35 UTC
fixed in xorg-server-1.11.4