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.
In latest trunk build 20071101, alignment of elements is now based on the last element that was selected. It used to be based on the first element that was selected but not very consistent since it sometimes based on the 1st element also. This is a regression and might be a result of fixing issue 118983. Repro steps: - create a diagram of any type - create and name 3 elements - select all elements one at a time using Ctrl+select - right click on any element and select an alignment option Result: the elements are aligned to the last element selected for alignment.
I can't consistently get it to align to the first or last selected element. Seems a bit random really.
Yes, inconsistent but most of the time it's aligned by the last selected element.
Attempted to improve performance using a Set rather than a List which is the for the randomness of the "anchor" node. Sets don't guarantee any order when iterated. Reverted back to using a List. First selected element will always be the anchor node.
verified in trunk build 20071102142454.