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: | Removing and adding children using outline fails to display properly | ||
---|---|---|---|
Product: | platform | Reporter: | KevinLemay |
Component: | Outline&TreeTable | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
KevinLemay
2010-01-12 12:15:51 UTC
I've reproduced the problem by TestOutlineDynamic. The problem is that TreePathSupport thinks that the path is already expanded, but it isn't. The bug seems to be in that when a child node is added again, the parent stays collapsed. Suggesting as a patch candidate, the fix is not hard. Unfortunately the parent node is collapsed by FixedHeightLayoutCache when the child is removed. Fixed in changeset: 157329:5329b63a56e5 http://hg.netbeans.org/main/rev/5329b63a56e5 Integrated into 'main-golden', will be available in build *201001160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/5329b63a56e5 User: mentlicher@netbeans.org Log: #179435 - Always retrieve the expanded state from layout. Caching of expandedPaths left only for the purpose of getExpandedDescendants(). I rebuilt the application that Kevin Lemay reported, using NetBeans 6.9, but I still see the problem. Was this patch included in NB 6.9? Kamaljit Singh |