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.
Runtime | VCS Commands Node popup menu should not contain the Tools action, since it only contains irrelevant Patch action.
This is in fact a flaw of Patch action. Moving to the diff module...
Fixed in dev build May 31. The Patch action was displayed on all FileObjects, now it's restricted not to appear on FOs, that are in InstanceDataObjects and on the default FS (with the exception of Templates, org and vcs/config folders).
*** Issue 24117 has been marked as a duplicate of this issue. ***
SHould the VCS Commands Node contain the Tools action at all in its popup menu?
This is a good question. It's added automatically from NodeOp.getDefaultActions(). This suggests, that Tools action have sense on all Nodes, it depends on the actual action whether it wants to be enabled on that node or not. This seems to be the common approach. The same applies to Processes node. Is it worth a change?
This is a two-edged sword; on one hand having the tools action there makes it easy to extend almost anything, on the other hand, most Cookie and Node actions compute their enabled state not taking all cases into account, which results in actions present in inappropriate places. Perhaps the JavaDoc comment for isEnabled method in Node and Cookieaction should suggest certain check patterns (such as do not return true on SystemFileSystem, or check if the node is indeed representing a file).
Works fine in development build #200206200100 of NetBeans 3.4.
Resolved for 3.3.x or earlier, no new info since then -> closing.