Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355119

Summary: alt clicking on project or file results in premature action
Product: [Eclipse Project] Platform Reporter: Christine <christine>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: christine, daniel_megert, deepakazad, remy.suen, yevshif
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Christine CLA 2011-08-18 12:40:59 EDT
Build Identifier: I20110613-1736

When I alt click on my project to select "Team/synchronize", Eclipse immediately takes the option that happens to be under the cursor, which most of the times is "delete project?" and does that. I get the confirmation window "Delete project?" and I select "no". Sometimes this happens three times before I can select an option myself. Just now, Eclipse has not given me a chance to select "no" and it detached my project from svn, then crashed. Now I have to check out the proejct again, apply my changes manually, then commit. 
There's also an error in the svn plugin that doesn't let me checkout a java project or android project using the wizard, I hope this doesn't mean that I can't check out this project any more. 
This really sucks. 

I'm on Ubuntu 11.04 with an Asus laptop.


Reproducible: Always

Steps to Reproduce:
1. select project
2. alt click (right click, I'm left handed so I left click)
3. see your project be deleted before you can stop eclipse
4. check out the project, and try to remember todays work.
Comment 1 Remy Suen CLA 2011-08-18 12:56:44 EDT
Does this only happen in the 'Synchronize' view? What about the 'Outline' view? Does this happen for all tree controls?
Comment 2 Eric Moffatt CLA 2011-10-11 13:42:14 EDT
Also, is this a Linux only issue or does it happen on all platforms ?

My first test on 4.2 was inconclusive...the context menu flashes but no action seems to be taken (but perhaps I'm just lucky that my cursor isn't over 'Delete'...;-).
Comment 3 Deepak Azad CLA 2011-10-11 13:52:33 EDT
Ha! I have encountered this a bunch of times on my Linux machine and thought that something was wrong with the mouse or the machine :) (I have never seen it on Windows)

I remember seeing this mostly inside Package Explorer while trying to bring up the context menu with a right click.
Comment 4 Eric Moffatt CLA 2011-10-18 15:05:41 EDT
Deepak, do you know (or could you check..;-) whether it's specific to the Package Explorer ? If you're getting the issue try the same actions on the Project Explorer and perhaps some other view that uses context menus.

Do you know if it's 4.x specific or does it happen in 3.x as well ?

I'm just trying to determine where to start so I know where to send the defect...
Comment 5 Deepak Azad CLA 2011-10-18 15:21:14 EDT
(In reply to comment #4)
> Do you know if it's 4.x specific or does it happen in 3.x as well ?
On Linux I always use 3.x, so it definitely happens in 3.x.

I think I have seen similar behavior with Java editor context menu as well, but not 100% sure.
Comment 6 Daniel Rolka CLA 2014-07-09 07:53:59 EDT
(In reply to Deepak Azad from comment #5)
> (In reply to comment #4)
> > Do you know if it's 4.x specific or does it happen in 3.x as well ?
> On Linux I always use 3.x, so it definitely happens in 3.x.
> 
> I think I have seen similar behavior with Java editor context menu as well,
> but not 100% sure.

Could you confirm that the issue is still valid or we can close the bug?

If so, maybe it is somehow related to the SWT component. Could you please provide any information about the Linux distribution you use?

Daniel
Comment 7 Paul Webster CLA 2014-07-17 09:44:37 EDT
This sounds like OS dependent behaviour.

PW
Comment 8 Christine CLA 2014-07-18 04:00:43 EDT
except that Eclipse is the only program that does it.