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: | Default action is called when collapsing tree node (double click) | ||
---|---|---|---|
Product: | platform | Reporter: | Alexander Pepin <apepin> |
Component: | Outline&TreeTable | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexander Pepin
2009-10-13 11:54:29 UTC
This appears in java also, I think it is a bug in the outline view, please evaluate. To reproduce in java: - debug any application - open variables tab and find an expandable variable with 2-5 children - reduce height of the tab so that only 3 items can fit in - double click on the variable -> it will expand and show children - double click it again, it will collapse and call default action which does not happen if the height of the tab is enough to fit all children this issue blocks testing automation AFAIK it's designed to call default action on each double-click on node - try on e.g. Bundle.properties node. The Bundle.properties will be opened in editor module regardless has children or not. I'll look on OV code which handles default action if there might be any problem. I can confirm a problem in NB6.8M2 build. Note: it's important not all nodes fit in view, in that case a doubleclick is transfered from original folder node to one of its child. It seems as race condition problem. It should be fixed NB6.8. I'm fixing it... core-main/rev/74f9bbc2edcd Integrated into 'main-golden', will be available in build *200910160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/74f9bbc2edcd User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #174433: Default action is called when collapsing tree node (double click) |