After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 108230 - right mouse click isn't forwarded to application
right mouse click isn't forwarded to application
Status: RESOLVED DUPLICATE of bug 13299
Product: vte
Classification: Core
Component: general
0.11.x
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-03-12 18:38 UTC by Egmont Koblinger
Modified: 2006-04-20 13:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Egmont Koblinger 2003-03-12 18:38:38 UTC
Description of Problem:

Clicking with the right mouse button always pops up the menu, so there's no way to pass it to the application (e.g. you cannot use it in "mc" to select files). This behaviour should be configurable.

Additional Information:

gnome-terminal 2.2.1, vte 0.10.26
Comment 1 Havoc Pennington 2003-03-12 22:14:35 UTC
It shouldn't be configurable, it should work. 
I think you can use Ctrl+click or something like that to pass through.
Comment 2 Egmont Koblinger 2003-03-15 20:42:04 UTC
It should work but it doesn't...

Ctrl+rightclick does nothing. Simple rightclick pops up the menu for me, even if mc is running.
Comment 3 Egmont Koblinger 2003-03-20 20:14:38 UTC
I took a look at the source to see if I can fix it in 10 minutes.
Well I couldn't, but...

I found the code around terminal-screen.c:1470 that forwards
Ctrl+Rightclick to vte, but it seems to me that this code forwards
it as Ctrl+Rightclick. And vte doesn't do anything with mouse
events if a modifier is pressed. So either vte should be changed
to ignore keyboard modifiers in case of mouse events, or
gnome-terminal should somehow remove the modifiers from the event
it forwards to vte.

Anyway the best would be if gnome-terminal knew whether the
application understands mouse events so that I don't even have to
press Ctrl when using mc. This works perfectly with Gnome1's
terminal and MGT.

For Gnome2, it seems to me that the interface provided by vte has
to be extended, since mouse_send_xy_* are private to vte right now.
I'm not sure at all but I'm afraid that the necessary information
is not provided by vte to gnome-terminal.
Comment 4 Alex Duggan 2003-03-22 01:17:18 UTC
moving to GNOMEVER2.2
Comment 5 Behdad Esfahbod 2006-04-20 13:43:46 UTC

*** This bug has been marked as a duplicate of 13299 ***