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.
TreeTable.updateSelectedPathsFromSelectedRows() calls useless clearSelection on every selected path update. So, If I change a selected node then I receive one event with empty nodes, one event with new selected node.
fixed, TreeTable rev.1.27 In place of clear whole selection are removed only affected paths. (superior task remains opened, there is more problems with generated events)
Rhis task remains opened, there is more problems with generated events.
Jirka, this fix caused serious regression in Options dialog for example. Select a node in Options dialog and then use keyboard arrows to navigate (especially right arrow for expanding the subnode). The selection is completely screwed up - multiple nodes is randomly selected. On Modules subnodes you can see that property sheet is is showing merged sheet of multiple module nodes, but in the tree only one is selected etc. If I revert TreeTable to 1.26 then everything is fine again. Let me know if you want me to revert it.
Not sure why this is filed as a task, it's a defect.
Just fixed this, hopefully without causing a serious regression this time :-) (would have been nice to see what was done before).
closed