Eclipse right click on X11 forwarding issue

I installed Eclipse on a remote Linux machine and try to access it from my Windows window via X11 forwarding. Yes, we have a requirement to do this.

I am having a right click problem while using Eclipse (Helios / Indigo / Juno). When I right-click in Eclipse, a pop-up menu appears, and then any menu item that is next to the cursor is selected, and this action is performed. If I hold the right click, the popup menu remains open and I can select any menu item. When I release the right click, the action of the selected menu item is executed. Please note that in all these cases the left mouse button is never used.

I tried different versions of Linux (SuSE / Ubuntu) and different X11 servers (Xming / Cygwin / VNC) for windows, the result is the same. This only happens with Eclipse, other applications like firefox don't have this problem.

This behavior can be partially attributed to the way Linux handles mouse clicks, that is, releasing the right mouse button will cause a choice.

Please note that in all cases Eclipse works without problems locally (on the local Linux machine), these problems only occur when remotely accessing Eclipse (X11 / VNC) from a Windows window.

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

Any ideas? Spend hell a lot of time on this ...!

Here are some links:

http://devnet.jetbrains.net/message/5246614

http://communities.vmware.com/thread/220037

https://superuser.com/questions/433314/how-do-avoid-context-menu-in-opensuse-to-open-on-mousepress

https://bugzilla.redhat.com/show_bug.cgi?id=542841

https://github.com/linuxmint/Cinnamon/issues/947

+4
source share
1 answer

I understand this is an old question, but it just started with me today (November 2016).

Macbook Pro Retina in mid-2012 launches Sierra with an external monitor and xquartz 2.7.11 touch panel

using remote x for a redhat 7.2 machine running eclipse Mars (4.5.2)

This worked consistently for many years, but after upgrading to Sierra, my right-click (two fingers tap on tracpad) on the remote X start of Eclipse causes the context menu of the context menu to flash for a short time, and then leaves.

I noticed that I had both a wireless connection and my LAN connection was active (I just returned from the meeting and put the mac on the monitors)

A couple of solutions were found - 1. changing two finger clicks in the lower right corner of the touch panel (but I hate it) 2. If I turn off wireless so that all remote sessions x are on cat5, my right-click menu works again (two fingers on the trackpad). I consistently reproduced this a couple of days in a row. 3. Use the mouse instead of the trackpad.

0
source

All Articles