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 175589 - Delete key does not delete a folder
Summary: Delete key does not delete a folder
Status: RESOLVED DUPLICATE of bug 89836
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-28 13:36 UTC by Alexey Vladykin
Modified: 2010-03-31 14:27 UTC (History)
1 user (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 Alexey Vladykin 2009-10-28 13:36:47 UTC
1. Create Arguments sample.
2. Select Source Files / args.c in the Projects view.
3. Hit Delete key, click OK in the dialog => file is deleted.
4. Select Source Files folder in the Projects view.
5. Hit Delete key, click OK in the dialog => nothing happens.
But "Remove" item of the context menu works.
Comment 1 Thomas Preisler 2009-10-29 06:38:18 UTC
Confirmed.
Comment 2 Maria Tishkova 2010-03-30 11:29:59 UTC
Alexey, and what behavior do you expect here? 
Should it be able to remove "Source Files" logical folder or "Remove" should be disabled for the predefined logical folder?
Comment 3 Alexey Vladykin 2010-03-30 11:56:23 UTC
I expect that Delete key works exactly as "Remove" item in the context menu.
Comment 4 Maria Tishkova 2010-03-31 12:09:00 UTC
Hmm... But "Delete" key is assigned to Delete action not to Remove.
In all cases it works as "Delete" action why should it work as Remove for Logical Folders? It is inconsistency.
If delete key will work as Remove for logical Folders should it work as Remove for disk files?
Comment 5 Maria Tishkova 2010-03-31 13:38:21 UTC
Please look at BZ#89836 where in comments Valera asks to not react on Del key..
Comment 6 Alexey Vladykin 2010-03-31 14:27:52 UTC
Oh, I should have searched better when I filed this bug. This is a duplicate.
And I agree with Valera's proposal to ignore Delete key at all if it is problematic to assign it to "Remove" action.

*** This bug has been marked as a duplicate of bug 89836 ***