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.
I selected an item in the Component Inspector (is that what its still called?) and typed Ctrl-X to get rid of it. Nothing happened. I brought up the right-click menu and saw Cut with a short cut of Ctrl-X. I hit the Cut menu item and nothing happend. Both the delete key and Delete menu item worked correctly.
This is not a bug. Cut is not intended to remove the component, the component is just moved when Paste is invoked - similarly to how it works in Explorer.
Ok, I understand that nothing happens until a paste is done. That was my mistake. However, there needs to be SOME feedback that the operation has not been ignored. In Windows Explorer, the name is greyed out until the Paste or the Cut becomes invalid. We should do something similar. Sounds like the Explorer should too.
I'm not quite persuaded that there should be some feedback for Cut operation. You have it neither for Copy - and you probably don't think it has been ignored. Or should there be some feedback for both operations? The main problem with marking the nodes (e.g. graying them out) is that the user cannot simply get rid of it - the node is marked although nothing happened with it, and if the user does not invoke Paste, the marking remains forever. Anyway, this is an RFE, not defect. And it should be decided on more general level than in form editor. I'm reaasigning to openide - someone could have other or better ideas.
Let me bring up Windows Explorer again. It gives feedback for Cut and no feedback for Copy. It has an algorithm for un-greyng the item that includes doing a Paste and also changing the current directory. I don't know if there is an analogy to the current directory for the Form Editor.
Set target milestone to TBD
Marking cutted items seems to be more an Explorer or Explorer.view issue.
*** This issue has been marked as a duplicate of 16339 ***
verified, closed - it's duplicate