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 23613 - Ctrl-X and Cut menu item don't work in the component inspector
Summary: Ctrl-X and Cut menu item don't work in the component inspector
Status: CLOSED DUPLICATE of bug 16339
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-16 15:18 UTC by eadams
Modified: 2008-12-22 18:40 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eadams 2002-05-16 15:18:38 UTC
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.
Comment 1 Tomas Pavek 2002-05-16 16:06:44 UTC
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.
Comment 2 eadams 2002-05-16 17:09:50 UTC
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.
Comment 3 Tomas Pavek 2002-05-16 17:29:00 UTC
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.
Comment 4 eadams 2002-05-16 18:39:18 UTC
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.
Comment 5 Marek Grummich 2002-07-22 11:24:33 UTC
Set target milestone to TBD
Comment 6 Marek Grummich 2002-07-22 11:27:28 UTC
Set target milestone to TBD
Comment 7 Petr Hrebejk 2002-07-26 12:28:28 UTC
Marking cutted items seems to be more an Explorer or Explorer.view 
issue. 
Comment 8 Jiri Rechtacek 2002-07-26 13:38:43 UTC

*** This issue has been marked as a duplicate of 16339 ***
Comment 9 Marian Mirilovic 2003-07-22 09:51:34 UTC
verified, closed - it's duplicate