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 132354 - no contextual menu when right click on diagram node w/o first selecting the node
Summary: no contextual menu when right click on diagram node w/o first selecting the node
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Kris Richards
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 18:48 UTC by Peter Lam
Modified: 2008-06-04 01:56 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 Peter Lam 2008-04-08 18:48:21 UTC
build 20080406

This is a regression from previous build. The workaround is to first select the node using left mouse click and then
right click on the selected node to bring up the contextual menu.
Comment 1 Peter Lam 2008-04-08 18:52:23 UTC
In a class, if either an attribute or operation is selected, the right click would not bright up the contextual menu either.
Comment 2 Peter Lam 2008-05-21 22:53:51 UTC
Currently, this problem is half-existed or half-fixed. If I right click on an interface or any of the design pattern
role elements that has not yet been selected, the menu does not pop up. However, right clicking on the class element an
other elements are working fine. 
Comment 3 Kris Richards 2008-05-27 21:32:58 UTC
I believe that this is a UML bug and not a Visual Library bug. I will reassign the issue to issues@uml

comment out the call to:

addToLookup(new ClassifierSelectAction());

in the following classes:
ClassRoleWidget
InterfaceRoleWidget
InterfaceWidget

note that this has been commented out in the UMLClassWidget already. Since I am not sure of the ramifications of this change, I thought that whoever 
wrote these widget might be the best candidates for making such a change.

Comment 4 Kris Richards 2008-05-30 21:10:13 UTC
fix submited
author	lvv@netbeans.org
Tue May 27 14:47:37 2008 -0700 (2 days ago)
changeset 80186	3b864693fc28
Comment 5 Peter Lam 2008-06-04 01:56:43 UTC
verified in latest build.