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 - Renaming Simple State and Submachine State transitions when selected always rename only element name
Summary: Renaming Simple State and Submachine State transitions when selected always r...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram State (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-02-12 07:12 UTC by Peter Lam
Modified: 2007-02-13 00:51 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 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.