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

Bug 335222

Summary: [CommonNavigator] Edit actions (cut, copy, paste, delete) missing from context menu
Product: [Eclipse Project] Platform Reporter: Michelle Crane <craneml>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED NOT_ECLIPSE QA Contact: Francis Upton IV <francisu>
Severity: major    
Priority: P3 CC: agfitzp, craneml, ob1.eclipse, pwebster, remy.suen
Version: 3.6.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michelle Crane CLA 2011-01-24 12:58:09 EST
Build Identifier: 3.6.2

I'm finding that the edit commands (e.g., cut/copy/paste, but especially delete) are missing from the context menu (e.g., in Project Explorer).

Reproducible: Always
Comment 1 Francis Upton IV CLA 2011-01-24 13:10:08 EST
Can you give some more details about this? They are present for me when I expect them. Can you say which type of object you are selecting? The contribution of these menu items is dependent on what you are working with.
Comment 2 Oleg Besedin CLA 2011-01-24 13:12:25 EST
Works for me in  M20110119-0834 on WinXP.
Comment 3 Michelle Crane CLA 2011-01-24 13:23:29 EST
Sorry.  Too generic I guess.

I'm actually using a build of Rational Software Architect, build on top of Eclipse Platform 3.6.2.r362_v20110111.  In the Project Explorer view, clicking on a project, or file (e.g., general project, file, UML model, etc.) shows a context menu.  In older versions of RSA, I was able to right-click and select Delete (or use the Del key).  Since I started using this version, I can no longer do that, and I notice that the entire Edit menu is missing.  I have to move to another perspective to delete files.

A coworker of mine was able to reproduce at the IES level (upon which RSA is built) with the 362I20110118 build, using the Resource perspective.
Comment 4 Alex Fitzpatrick CLA 2011-01-24 13:53:12 EST
I'm working with Michelle on diagnosing this in RSA. I am unable to reproduce this in any version of base Eclipse including 3.6.2RC1 or the M20110105 and M20110112 integration builds.

The more it goes the more it looks like this is an internal IBM problem.
Comment 5 Francis Upton IV CLA 2011-01-24 13:56:26 EST
(In reply to comment #4)
> I'm working with Michelle on diagnosing this in RSA. I am unable to reproduce
> this in any version of base Eclipse including 3.6.2RC1 or the M20110105 and
> M20110112 integration builds.
> 
> The more it goes the more it looks like this is an internal IBM problem.

This sounds right as the way the common navigator works it's easy to override the context menus on objects, so there might be an issue there. And this does not seem to happen in the base eclipse. Let me know if you need any help with this.
Comment 6 Michelle Crane CLA 2011-01-25 07:06:15 EST
Closing this bug.  Further testing shows it's not Eclipse, it's us.  Apologies.