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.
When is "System->System Settings->Confirm delete" setting setted to 'false' the confirmation dialog won't be shown on delete any dataObject.
So...what's the bug?! You ask not to have to confirm deletions, and NB then doesn't.
From help: To configure system settings through the Options window: From the main window, choose Tools Options. In the Options window, expand IDE Configuration System. Select System Settings. On the Properties tab, modify the properties to your preferred settings. Confirm Delete. If True, opens a Confirm Deletion dialog box when you attempt to delete an item. I think that item is DataObject in explorer. IMHO disable delete confirmation dialog is nonsense when you cannot perform undo of delete. The "Confirm delete" property should be removed from settings.
Maybe. Anyway the setting is currently behaving as designed, and as it has behaved forever as far as I know. Bring it up on nbui.
*** Issue 33566 has been marked as a duplicate of this issue. ***
It doesn't belong to actions. Delete action is callback, important is the performer which is set (for this cases probably) by ExplorerActions. Ressigning.. To the issue. It seems to me there is a bound property confirmDelete (in ExplorerActions), which is probably set only for the main NbExplorer from core. For other instances of explorer it is probably a problem, but I didn't have a closer look at it, so the last sentence could be wrong.
Please do not confuse this issue with issue #33566. This is a UI request only, not a code bug. Peter's last comment applies to #33566.
Reassigning to new module owner Tomas Holy.
The setting is no longer available, but I think the IDE still behaves poorly here. A given explorer view can decide whether or not to show the dialog, but I don't think a given node can. Probably the global dialog should be turned off entirely, and particular nodes which want to bring up a dialog when destroy() is called can do so.
Views can decide individually. Nodes can influence the behavior with customDelete property: http://bits.netbeans.org/dev/javadoc/org-openide-explorer/architecture-summary.html#property-customDelete There is also the extended delete interface: http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/ExtendedDelete.html