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.
Steps to reproduce: - create Welcome sample - do step into - open Watches - create a new watch for 'argc' - create a new watch for 'argv' - shrink the height of Watches window so that it could show no more than 4 or 5 lines - double-click on 'argv' to expand it - double-click on 'argv' to collapse it Result: 'argv' gets collapsed and "Customize - argc" window appears. The same occurs in Variables if "Show Watches inside Variables view" is enabled.
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)