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 46024 - Two actions with the same name in action pool
Summary: Two actions with the same name in action pool
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2004-07-12 13:03 UTC by _ rkubacki
Modified: 2005-01-11 18:07 UTC (History)
2 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 _ rkubacki 2004-07-12 13:03:55 UTC
Tools | Option | ... | actions | Window 
contains 4 actions from favorites module. Two of
them (view and select) present the same name
"Favorites".
Comment 1 mslama 2004-07-15 14:31:06 UTC
It is by design: View action is used in Window menu: Window ->
Favorites. Select action is used in Window -> Select Document in ->
Favorites. So both actions have the same display name. Only way could
be to set tooltip on their corresponding nodes in Tools->Options->IDE
Configuration->Look and Feel->Actions->Window-> but no action node has
tooltip and I do not know how to set it. Jesse please is any way how
to do it?
Comment 2 Jesse Glick 2004-07-15 18:13:50 UTC
Uh, you could just make a new submenu in the Actions pool to match the
structure of the menu bar?
Comment 3 mslama 2004-07-15 18:18:57 UTC
Yes I could. How to do that? :)
Comment 4 Jesse Glick 2004-07-15 18:31:35 UTC
Um, just make a new subfolder in the layer, there's no trick.
Comment 5 mslama 2004-10-19 12:25:55 UTC
Fixed. Folder SelectDocumentNode added to Actions/Window and action
Select moved to it.

Modified:
/cvs/core/favorites/src/org/netbeans/modules/favorites/resources/layer.xml
new revision: 1.9; previous revision: 1.8

/cvs/core/src/org/netbeans/core/actions/Bundle.properties
new revision: 1.139; previous revision: 1.138

/cvs/core/ui/src/org/netbeans/core/ui/resources/layer.xml
new revision: 1.82; previous revision: 1.81

Assigning to projects to move their actions to the same location to be
consistent with Menu/Window structure. Then reassign to VCS. They have
one action there too.
Comment 6 Jesse Glick 2004-10-19 16:35:33 UTC
Upgrade priority since this is a consistency issue.
Comment 7 Petr Hrebejk 2004-10-20 14:45:26 UTC
Fixed in projects, VCS please move the last action.

Checking in
projectui/src/org/netbeans/modules/project/ui/resources/layer.xml;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/resources/layer.xml,v
 <--  layer.xml
new revision: 1.41; previous revision: 1.40
done
Comment 8 Jesse Glick 2004-10-20 19:19:35 UTC
Petr you need to use the "Reassign issue to owner of selected
subcomponent" button when changing component.
Comment 9 Martin Entlicher 2005-01-11 18:07:09 UTC
Did not find any duplicates. Perhaps it was the diff action, which was
wrongly put into Versioning section. This was corrected a while ago:

/cvs/diff/src/org/netbeans/modules/diff/mf-layer.xml,v  <--  mf-layer.xml
new revision: 1.20; previous revision: 1.19