Some gtk dialogs do not accept mouse clicks when buttons remapped using xmodmap

Bug #876792 reported by David
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading to oneiric I noticed that a few menus don't accept mouse clicks in some places any more. List-boxes inside tabs, as used by 'gnome-control-center sound' cannot be modified via mouse. Keyboard navigation still works though. Similar problem with gnome-terminal: when a terminal window is tabbed, mouse-selection of terminal contents is impossible. This seems to be caused by me using the command

  xmodmap -e 'pointer = 1 2 3 4'

after login, to remap the order of mouse buttons for left-handed use.

I just caught a little more insight into the problem: if I open up two gnome-terminal windows side-by-side, one tabbed, one without tabs, if I first click the first (non-tabbed) window, then change focus to the second window by clicking it, attempting to select any text in the second window, actually does select text in the first window, with the corresponding window-relative position. So events go to the wrong window. How's that possible? Maybe the window-manager is part of the bug? However, non-gtk applications like Emacs etc. do not show the problem, so I think it must be gtk-related.

For me that bug is pretty grave. Hope it can be reproduced on other installations.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libgtk-3-0 3.2.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Mon Oct 17 21:19:35 2011
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gtk+3.0
UpgradeStatus: Upgraded to oneiric on 2011-10-15 (2 days ago)

Revision history for this message
David (dvdkhlng) wrote :
Revision history for this message
David (dvdkhlng) wrote :

Just noticed a typo in the description above. The command I use to remap the mouse buttons is this one:

 xmodmap -e 'pointer = 2 1 3 4'

I'm using the other command with args 'pointer = 1 2 3 4' using for getting back to default button order, which works around the reported bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
ExecutorElassus (n-andrew-walsh) wrote :

I'd like to point out: this is not an Ubuntu-specific bug: I'm a gentoo user, running fvwm as my wm, and I have the same problem. This is specific to GTK apps with multiple interactable fields (evince and audacious are affected).

Any guesses where upstream this is broken?

Cheers,

EE

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.