VMware Communities
ccannell
Contributor
Contributor

Right click problem (Eclipse in Ubuntu 8.04)

I'm having a problem with right click behavior when using Eclipse (both Galileo and Ganymede). 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. This problem happens frequently but not 100% of the time. I have not seen this problem anywhere else in Ubuntu, only within Eclipse. Several of my co-workers are having similar issues.

Specs:

MacBook Pro (circa 10/2007)

Fusion 2.05 (I've had this problem with all versions of Fusion include 1.x)

Ubuntu 8.04 as guest

Eclipse Galileo (also had the same issue with Ganymede)

If anyone has any insight, it would be greatly appreciated. We do a lot of development in Eclipse and this problem can be very frustrating. Thanks.

Tags (3)
Reply
0 Kudos
12 Replies
Mikero
Community Manager
Community Manager

I'm trying to reproduce your issue, but i'm coming up short, tho my setup is slightly different...

I dl'd the current version of Eclipse (PHP edition) and I'm not able to reproduce the issue. (created a small file, right-clicking like a maniac)

The difference is that I'm running Ubuntu 9.04, not 8.04... I'm going to try installing 8.04 and see if there's any difference...

Just curious, how are you sending the right-click? (Control+click? 2-fingers-on-trackpad? Mouse with right button?)

-
Michael Roy - Product Marketing Engineer: VCF
Reply
0 Kudos
ccannell
Contributor
Contributor

Good question.

I just tested some various input methods.

Right clicking with an external mouse exhibits the problem

Right clicking with 2 fingers and click trackpad button exhibits the problem

Right clicking with 2 fingers as a tap on the trackpad does NOT exhibit the problem

Control and mouse left click exhibits the problem

Control and trackpad button exhibits the problem

Control and tapping the trackpad does NOT exhibit the problem

Reply
0 Kudos
ccannell
Contributor
Contributor

Some additional information:

I'm using Eclipse Galilaeo with CDT.

One of my co-workers can reproduce the problem using RSSOWL which is a feed reader based on the eclipse RCP.

Reply
0 Kudos
Mikero
Community Manager
Community Manager

Hm, interesting that it RSSOwl exibits similar behaviour... Could be Java or something unique with the eclipse libraries getting in the way.

Sounds like the issue persists when an actual 'click' is registered, wheras the two-finger-tap is recognized as a 'gesture' from the Mac perspective, tho it should in theory send the same 'right click' event to the guest OS...

Which version of Java is installed? (from bash/terminal: java -version )

I'm installing the 'cdt' version of eclipse (thru synaptic, taking around 30 minutes to dl the dependencies), gonna see if that makes any difference.

My java -version output: (where $USER = my actual username)

$USER@ubuntu:~$ java -version

java version "1.5.0_18"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)

Java HotSpot(TM) Client VM (build 1.5.0_18-b02, mixed mode, sharing)

I'll see if any version # changes after installing the CDT version.

-
Michael Roy - Product Marketing Engineer: VCF
Reply
0 Kudos
ccannell
Contributor
Contributor

vct@ubuntu804desktop:~$ java -version

java version "1.6.0_07"

Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

Reply
0 Kudos
Mikero
Community Manager
Community Manager

Hm, looks like my Java's slightly behind...

My updates are still running, I'll keep ya posted Smiley Wink

-
Michael Roy - Product Marketing Engineer: VCF
Reply
0 Kudos
ccannell
Contributor
Contributor

Great. Appreciate the help.

Reply
0 Kudos
Mikero
Community Manager
Community Manager

Ok, so I can duplicate the issue using 9.04

If I had to guess, I'd say it's an issue with the Java 6 runtime/libraries. I was only able to make it happen like 1 in 15 tries or so... was yours happening more frequently than that?

When I installed Eclipse CDT it updated my Java to the following:

$USER@ubuntu:~$ java -version

java version "1.6.0_0"

OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu7)

OpenJDK Client VM (build 14.0-b08, mixed mode, sharing)

I don't think that we'll be able to find a fix for this one unfortunately, besides submitting a bug report to both Sun and VMware.

-
Michael Roy - Product Marketing Engineer: VCF
ccannell
Contributor
Contributor

It happens frequently for myself and the others at our company. It's good to know that it can be reproduced. Thanks for your help.

Reply
0 Kudos
Mikero
Community Manager
Community Manager

No problem, sorry I couldn't come up with a fix, but at least we can reproduce the issue.

Have a good one 😃

-
Michael Roy - Product Marketing Engineer: VCF
Reply
0 Kudos
NvrBst
Contributor
Contributor

Hello. I realize this isn't thread for my product but thought it'd be useful to bump this than create an exact same topic... Once the problem starts happening in my case it doesn't go away unless eclipse is closed and opened; even then it sometimes is still there. After about 30 mins in Eclipse I'm pretty much always in the "hold right click and let go on my option" mode. My spects are as following:

Host: Windows XP SP3

VMWare Player 2.5.2

Guest: Kubuntu 9.04 -Latest Updates-

java -version

java version "1.6.0_13"

Java(TM) SE Runtime Environment (build 1.6.0_13-b03)

Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

Eclipse Build id: 20090619-0625 (Galileo) -Latest Updates-

VMWare Tools: VMwareTools-7.8.5-156735.tar.gz

I'm pretty sure I don't have this problem with my actual Linux box which almost mirrors my VMWare images. I don't use the actual machine for much eclipse devlopment (just compiling).

If anyone finds a solution it'd be appreciated.

Reply
0 Kudos
hangglider
Contributor
Contributor

I have some similar problems with Eclipse Galileo on a debian squeeze and lenny as a guest of VMWare Player 2.0.1.

Often, but not every time the mouse click on menue buttons don't work, if the button is highlighted, a keyboard "Return" works.

It seames the problem appeares with one of the updates of lenny and squeeze. So i suppose, that is not a eclipse problem..

I use the actual open-vm-tools packages compiled to the used kernel.

May be there is a problem in the chain open-vm-tools :: Xopen :: java.

Reply
0 Kudos