GNOME Bugzilla – Bug 655928
Mouse buttons not working in dialog boxes in Gtk3 when using xmodmap -e pointer = "3 2 1"
Last modified: 2011-12-19 13:10:30 UTC
This is on Fedora 15 with gtk3-3.0.11-1.fc15.i686 I use fvwm2 and also xmodmap -e "pointer = 3 2 1" to make the mouse left handed. When running gtk3-demo selecting "Dialog and Message Boxes" opens a dialog box, but the buttons in that dialog box do not react to any mouse clicks, what is strange is that item selected the main gtk3-demo window changes when clicking on the dialog box... No other widgets seem to have this problem. gtk3-demo is just an example, the problem happens in all Gtk3+ applications. gtk2-demo does NOT have this problem. This setup has worked for 10+ years, no other toolkits have the same problem.
I have the same proble with gentoo and awesome. gtk version 3.2.2.
In my case all windows I open in gtk3-demo doesn't react on mouse clicks exept first window. And all clicks on secondary windows are propagated to the first window.
I'd like to point out that this bug is appearing in multiple bug trackers and forums: http://l3afpad.blogspot.com/2011/09/bug-introduced-by-gtk-3x-xmodmap-e.html https://bugzilla.redhat.com/show_bug.cgi?id=727673 http://hyperrate.com/thread.php?tid=24779#24779 etc etc I have the same problem, starting from about 1. December, affecting all GTK apps (audacious, evince) in multiple WMs (GNOME, FVWM). The only consistent feature is that I have "pointer = 3 2 1 4 5 ..." set via xmodmap. added info: I ran xev on the mouse, and pasted the output doing some basic actions with audacious to this forum post: http://forums.gentoo.org/viewtopic-t-904070-highlight-xmodmap+pointer.html?sid=6babfc6972fd681774fbeee53777934a Hope this helps, and that we can get a fix soon.
This is a problem in XI2. As a quick workaround, you can set GDK_CORE_DEVICE_EVENTS=1
thank you for the workaround. Since I'm kinda dumb about setting envvars, where and how do I set that? Just include that line in my .xsession file? in xorg.conf? Cheers
If you want it for your entire session, you can put it in ~/.bash_profile
This actually turned out to be a server bug. For a fix see http://patchwork.freedesktop.org/patch/8367/
hurrah! glad to see a patch is up. Any estimates when it will filter downstream? (or, for that matter, how I can apply the patch myself? I'm dumb about that, too)
Since the original reporter is on Fedora, here are the update links: https://admin.fedoraproject.org/updates/xorg-x11-server-1.10.4-2.fc15 https://admin.fedoraproject.org/updates/xorg-x11-server-1.11.3-1.fc16 For other distributions, please file a bug against the X.Org X server component and get them to include the patch linked in Comment #7. This bug should be closed as NOTGNOME, the real bug is filed here now: https://bugs.freedesktop.org/show_bug.cgi?id=43942
*** Bug 666457 has been marked as a duplicate of this bug. ***