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 89274 - There is no checkbox option for deletion/or not deletion from project
Summary: There is no checkbox option for deletion/or not deletion from project
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Yang Su
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-11-14 08:13 UTC by Sergey Petrov
Modified: 2006-11-22 12:35 UTC (History)
0 users

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 Sergey Petrov 2006-11-14 08:13:49 UTC
reproducible with 061112_2

reproducible on component diagram but may be there are more cases, reproducible
with "Artifact","Derivation Classifier","Design Pattern","Actor Role" elements.
steps:
1. create component diagram
2. add one of mentioned above elements
3. invoke delete from context or by key
dialog appears without checkbox confirming deletion from project.
Comment 1 Sergey Petrov 2006-11-16 11:23:56 UTC
possible dataloss, because without checkbox dialog works the same way as with
selected checkbox.
Comment 2 Peter Lam 2006-11-16 17:33:03 UTC
Workaround: use Edit->Cut from the context menu or Ctrl-X shortcut key
Comment 3 Peter Lam 2006-11-17 01:08:00 UTC
In state diagram, the following element also has no such checkbox delete dialog.
- Simple State
- Submachine State
Comment 4 Peter Lam 2006-11-17 01:14:06 UTC
The following elements are also available in other diagram types than just the
Component Diagram, eg, Class Diagram.

"Artifact","Derivation Classifier","Design Pattern","Actor Role"
Comment 5 Peter Lam 2006-11-17 01:36:02 UTC
In Class diagram, the following elements also have no checkbox in the Delete
dialog in addition to the original list from the Component Diagram.
- Node
- Datatype
- Aliased
- Actor
- Boundary Class
- Control Class
- Entity Class
Comment 6 Yang Su 2006-11-21 22:00:04 UTC
This regression was caused by recent changes to handle all kinds of shortcut
keys, the manipulation of compartment selection altered logic flow in handling
delete event. 
Comment 7 Sergey Petrov 2006-11-22 12:35:43 UTC
verified with 061121_17