This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 100909 - Add Existing Item is twice in the File menu
Summary: Add Existing Item is twice in the File menu
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ potingwu
URL:
Keywords:
Depends on:
Blocks: 104411
  Show dependency tree
 
Reported: 2007-04-13 09:12 UTC by jrojcek
Modified: 2007-11-02 23:48 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jrojcek 2007-04-13 09:12:43 UTC
Two menus with the same label "Add Existing Item" are present in the File menu. The first "Add Existing 
Item" is only enabled for C/C++ projects. The second item is a menu with submenu items which are 
enabled for most of the project types but they seem to do nothing. The problem is twofold. First there 
cannot be 2 menu items using the same label. Second the behavior of those actions need to be 
consistent and it should work for all project types.

Recommendation: Merge "Add Existing Item" actions together so that it works for all project types. If it 
cannot be done for 6.0, consider removing it from the main menu and keep them only in contextual 
menus. Also the name of the menu item should change to "Add Existing File...".

Should be fixed for 6.0 M10. 

This is a cross-team issue (VW and CND and Core?). Please reassign to responsible engineer.

Dusan Pavlica and Rudolf Bock are usability contact regarding this issue.
Comment 1 Rudolf Bock 2007-04-13 14:16:14 UTC
This is right. In general, all of the Packages should share "general" UI element, if possible.
The functionality behind should be context/project/package sensitive.
Comment 2 Mark Dey 2007-04-13 17:10:23 UTC
Removal of Add Existing Item menu from visual web should be a P1 for M9 since
this feature is not functional. We will revisit this action in the context of
the Page Import feature which is currently TBD for NB 6.
Comment 3 _ potingwu 2007-04-18 23:53:42 UTC
I have removed the "Add Existing Item" menu from visual web for M9.
Comment 4 Pavel Buzek 2007-04-19 05:47:38 UTC
The M9 part is fixed (thanks, Po-Ting), moving to M10.
Comment 5 Joelle Lam 2007-04-19 17:14:45 UTC
This item has been removed from the menu item.  I believe Po-Ting actually
removed it before it was assigned to me (on the 13th).  I will close this item.
 Po-Ting, can you confirm that the part two you were referring to is 90480.  

Anyway, the p1 portion of this item is complete.
Comment 6 Joelle Lam 2007-04-19 17:15:33 UTC
This item has been removed from the menu item.  I believe Po-Ting actually
removed it before it was assigned to me (on the 13th).  I will close this item.
 Po-Ting, can you confirm that the part two you were referring to is 90480.  

Anyway, the p1 portion of this item is complete.
Comment 7 _ potingwu 2007-04-19 17:35:49 UTC
The menu removal is a temporary solution for M9. According to the HIE's comment,
Visual Web should either merge the menu with C/C++ project or make it context menu.

I will get this action back, for M10. And yes, not P1 now.
Comment 8 _ potingwu 2007-06-18 19:39:13 UTC
No plan from visualweb to get it back for NetBeans 6.0 release.
Comment 9 Mark Dey 2007-11-02 23:48:12 UTC
File->Add Existing Item... for visual web has been removed for NB6. Issue as originally reported has been fixed.