christmo / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

SourceList node selection/expansion different than on Mac #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a sourcelist and populate it with categories and items 
2. select one of the nodes (A)
3. expand or collapse another node (B)

What is the expected output? What do you see instead?
The selection should stay with node A and node B should have changed its 
expansion state. But 
instead the selection moved to node B.

What version of the product are you using? On what operating system?
Trunk. MacOS X 10.5.

Original issue reported on code.google.com by dlemmermann@gmail.com on 13 Mar 2009 at 6:26

GoogleCodeExporter commented 8 years ago
Ovverrode BasicTreeUI.selectPathForEvent(TreePath path, MouseEvent event) in 
order to determine whether or 
not the selection event is the result of a expand collapse control being 
clicked.

Original comment by kenneth....@gmail.com on 14 Mar 2009 at 11:01