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 32567

Summary: [TTV] TreeTable generates useless events
Product: platform Reporter: Jiri Rechtacek <jrechtacek>
Component: Outline&TreeTableAssignee: _ tboudreau <tboudreau>
Status: VERIFIED FIXED    
Severity: blocker CC: dkonecny
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 32462, 33281    

Description Jiri Rechtacek 2003-04-02 13:33:23 UTC
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.
Comment 1 Jiri Rechtacek 2003-04-28 08:51:41 UTC
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)
Comment 2 Jiri Rechtacek 2003-04-28 09:13:13 UTC
Rhis task remains opened, there is more problems with generated
events.
Comment 3 David Konecny 2003-06-03 09:39:17 UTC
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.
Comment 4 _ tboudreau 2003-12-01 12:21:37 UTC
Not sure why this is filed as a task, it's a defect.
Comment 5 _ tboudreau 2004-07-30 01:20:49 UTC
Just fixed this, hopefully without causing a serious regression  this time :-)  (would have 
been nice to see what was done before).
Comment 6 Marian Mirilovic 2005-07-15 07:49:27 UTC
closed