GNOME Bugzilla – Bug 86943
Sort out mouse events for terminal apps
Last modified: 2006-05-08 10:30:30 UTC
Description of Problem: gnome-terminal no longer generates X11 Mouse Reporting codes when the right mouse button is pressed, or when the scroll wheel is used. Steps to reproduce the problem: 1. Fire up w3m in a gnome-terminal. 2. Try to bring up the w3m menu by pressing the right mouse button. 3. Try to scroll the page in w3m by using the scroll wheel on your mouse. Actual Results: gnome-terminal brings up its own popup menu when the right mouse button is pressed. When the mouse wheel is used it simply scrolls the backlog. Expected Results: If X11 Mouse Reporting has been enabled, gnome-terminal should send the correct key codes for these mouse events. This worked in gnome-terminal 1.4.1. Eterm and xterm also have the correct behaviour. The user should be required to hold shift, to scroll the backlog or bring up the popup menu, if X11 Mouse Reporting is enabled. Additional Information: I'm using the gnome-terminal package from Debian, version 2.0.0-2 and libzvt2-0 version 1.99999.0-1.
Havoc, is this g-t or zvt? [No idea who handles what in this case...]
I'd have to investigate which it is. My attitude toward mouse-enabled terminal apps is very much "what a bad idea" though, so low priority for me.
This probably works with VTE now, except for the right-click menu. The scroll wheel seems to have a couple issues too in links, don't know if it's links or VTE or gnome-terminal. Going to use this bug to dup all the other mouse-event bugs.
*** Bug 82873 has been marked as a duplicate of this bug. ***
*** Bug 87918 has been marked as a duplicate of this bug. ***
The wheel seems to work fine now. Havoc, do you remember what issues you were referring to above in connection with links? Now, with respect to making the popup come up on Shift+RightClick when mouse-events are on: this does not sound like a great idea, because it changes the behaviour depending on something (whether the app is recieving mouse events or not) which the user does not know most of the time: we'll start getting “context menu does not appear when using mc” bugs. On the other hand, selecting does require to be done while pressing Shift when mouse-events are on...
*** Bug 95447 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 13299 ***