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 154536

Summary: Cannot inline edit name for lifeline classifier
Product: uml Reporter: tonybeckham <tonybeckham>
Component: Diagram SequenceAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Showing incorrect classifier name

Description tonybeckham 2008-12-03 22:44:33 UTC
When you add a lifeline item from the palette to the design area then press enter to edit, entering a name gets messed
up.  After pressing enter to edit, ":" is present and selected.  Start typing and the first character is displayed then
the second char replaces the first.  In the end the name is all garbled.

Steps:
# Create a new Java-Platform Model UML project.
# Create a new sequence diagram
# Left click on the Lifeline icon on the modeling palette
# Left click on an empty diagram area to place the new Lifeline element
# Press Enter key to edit the element
# Enter "lifeline_class1" to the element as the representing classifier name
The name to the right of the ":" is corrupted. (see screenshot)

System:
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57
System: Mac OS X version 10.5.5 running on x86_64; MacRoman; en_US (nb)
Comment 1 tonybeckham 2008-12-03 22:51:26 UTC
Created attachment 74502 [details]
Showing incorrect classifier name
Comment 2 tonybeckham 2008-12-03 22:52:58 UTC
This is directly taken from Test #2 for:
http://uml.netbeans.org/qa/nb65/SanityTests/UMLSanityTestSpecification.html#Modeling_Diagram:_Sequence_Diagram
Comment 3 Sergey Petrov 2008-12-04 05:12:13 UTC
can't reproduce on vista, jdk 1.5,may be mac issue too.
will try more today.
Comment 4 Sergey Petrov 2008-12-04 08:56:41 UTC
can't reproduce on ubuntu with openjdk 1.6
Comment 5 Sergey Petrov 2008-12-04 09:28:51 UTC
>p3 it's not really can't but need to be more careful with naming and look for result during naming so more like
"visible usability issue"
can reproduce on  Mac OS X version 10.5.5 running on i386 with Java: 1.5.0_13 only.