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.
Summary: | OutlineView collapses children of reordered nodes (after drag/drop, MoveUp/ModeDown, or Reorder) | ||
---|---|---|---|
Product: | platform | Reporter: | matvei |
Component: | Outline&TreeTable | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | geertjan |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Sample project demonstrating this problem. |
Description
matvei
2015-08-20 16:29:15 UTC
VariableHeightLayoutCache in response to treeStructureChanged() removes and re-creates nodes in D&D 2 folder. The expansion state is lost this way. EventBroadcaster.treeStructureChanged() mentions a necessity to dump info about the existing tree structure, but does not do anything like that. It looks like TreePathSupport was intended to be responsible for that. Fixed by changeset: 292667:41e0e072b563 http://hg.netbeans.org/core-main/rev/41e0e072b563 Integrated into 'main-silver', will be available in build *201509290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/41e0e072b563 User: mentlicher@netbeans.org Log: #254560: Copy the expansion state of the structurally changed tree. |