Bug 397343 - Eclipse mouse right-click issue with X11 forwarding
Summary: Eclipse mouse right-click issue with X11 forwarding
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2013-01-03 01:05 EST by sangram reddy CLA
Modified: 2018-07-06 14:11 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sangram reddy CLA 2013-01-03 01:05:08 EST
I have installed Eclipse on a remote Linux machine and trying to access it from my Windows box thru X11 forwarding. Yes, we have a requirement to do so.

I'm having a problem with right click behavior when using Eclipse (Helios/Indigo/Juno). When I right click in Eclipse the popup menu briefly appears and then whatever menu item the cursor is near gets selected and that action is performed. If I hold the right click then the popup menu stays open and I can select any menu item. When I release the right click the selected menu item action is performed. Note that in all of these cases the left mouse button is never used.

Tried different Linux flavors(SuSE/Ubuntu) and different X11 servers(Xming/Cygwin/VNC) for windows, the result is same. This happens only with Eclipse, other applications like firefox do not have this problem.

This behavior can partly be attributed to the way Linux handles mouse clicks i.e., releasing the right mouse button will trigger a selection. Please see: http://unix.stackexchange.com/questions/60101/how-to-disable-select-on-release-right-mouse-button-in-linux

Note that in all cases, Eclipse works without any problems locally(on the local Linux machine), these problems only appear when we access Eclipse remotely(X11/VNC) from a Windows box.

I am not sure if the problem is in Eclipse, because Eclipse works fine locally. Then, I am not sure if the problem is in X-server, because other applications like firefox works fine remotely.

Tried different GTK themes and increased the padding between menu items and the border, but somehow the mouse pointer still points to a menu item whenever the menu is opened.

Any ideas?
Comment 1 Arun Thondapu CLA 2014-07-04 07:16:40 EDT
Is this problem still seen with the latest versions of X11 software that you're using and Eclipse Luna?
Comment 2 Eric Williams CLA 2018-07-06 14:11:36 EDT
(In reply to Arun Thondapu from comment #1)
> Is this problem still seen with the latest versions of X11 software that
> you're using and Eclipse Luna?

No response in awhile, closing this ticket now. Please reopen it if the issue is reproducible with 4.8 and GTK3.22.