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 95189

Summary: Renaming Simple State and Submachine State transitions when selected always rename only element name
Product: uml Reporter: Peter Lam <petersl>
Component: Diagram StateAssignee: Viktor Lapitski <lvv>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Peter Lam 2007-02-12 07:12:19 UTC
This is a regression.

Only Simple State and Submachine State element name is renamed when renaming the
selected transition in the element compartment.

Repro steps:
- create a state diagram
- create Simple State or Submachine State element in the diagram
- create a few different transitions in the element
- while the element is selected, use Shift-Left or Shift-Right arrow to traverse
 to one of the transition. Using the mouse to select the transition can be done
here too but do not double click to select in the edit mode.
- while the transition is selected, start typing in the transition name
Return: The element name is being edited instead of the selected transition

Workaround: when the transition is selected, press Enter to get in the edit mode
Comment 1 Viktor Lapitski 2007-02-12 13:25:54 UTC
Previously added handle typed char code needed an additional change of handle
key down logic in list compartment. Fixed in release55. 
Comment 2 Peter Lam 2007-02-13 00:51:20 UTC
verified in build 070212.