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 147876

Summary: Tab avigation order is random
Product: uml Reporter: Sergey Petrov <sj-nb>
Component: General DiagramAssignee: issues@uml <issues>
Status: VERIFIED WONTFIX    
Severity: blocker Keywords: A11Y
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Sergey Petrov 2008-09-22 14:02:24 UTC
in 6.1 tab navigation was in order of creation. in 6.5 create 8 classes left-right up-down in two rows and start tab
traversal. selection will jumps randomly.
Comment 1 Trey Spiva 2008-09-22 22:56:23 UTC
This problem is because the visual library uses a map to hold the selected objects.  The map does not give us a good ordered solution.  However this can not 
be changed with out changing the API.
Comment 2 Sergey Petrov 2008-09-23 04:55:20 UTC
please give nore details how map with one selected object may affect selection order with tab?
Comment 3 Trey Spiva 2008-09-24 01:32:20 UTC
Because the visual library tab selection logic uses the getSelected() method to retrieve the selected objects.  Since the ObjectScene uses a map to hold the 
selected objects the order of the selected objects is based on what ever the map uses as a key.  Therefore the order of the selected objects is the order of the 
key not the order they where selected.
Comment 4 Sergey Petrov 2008-09-24 06:03:16 UTC
ok, getSelected() still doesn't matter it's mixed with getObjects() method which return Set.
but it still may not be the best reason to close, it may be addressed by some additional logic in our DesignerScene or
may be issue/request may be filed for VisualLibrary.
Comment 5 Peter Lam 2008-10-04 01:25:05 UTC
let's see if any complaint from real users.