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 79843

Summary: Keyboard Movement of Association Label Moves Wrong Label
Product: uml Reporter: ossiejhmoore <ossiejhmoore>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description ossiejhmoore 2006-07-07 03:58:59 UTC
If you click on an association label, then move it using [ctrl]+[arrow_keys]
then attempt to click on and move another association label, the first one still
has focus.

How to repeat: 

(1) Create a new diagram (tested with use case and activity). 
(2) Add three objects (use case, actor, state, etc.).
(3) Create an assoication between object 1 and object 2, naming it 'one'.
(4) Create an association between object 2 and object 3, naming it 'two'
(5) Click on association one's line. Then on the label. Observe that the label
has focus. Move it using [ctrl]+[arrow_keys]. Observe that label for association
one is moved.
(6) Click on association two's line. Then on the label. Observe that label 'two'
has focus. Move it using [ctrl]+[arrow_keys]. Observe that the label for
association two *did not* move. Observe that the label for association one *did*
move.

NOTE: If after step five, you release the [ctrl] key. Press any arrow key at
least once (causing the panel to scroll in the appropriate direction). Things
work as you would expect.
Comment 1 Sergey Petrov 2008-10-31 15:23:16 UTC
seems fixed in 6.5. either it's not possible to move "two" without ctrl release after step 5 or fixed with release.