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.
[ BUILD # : 201211290002 ] [ JDK VERSION : 1.7.0_09 ] While testing http://wiki.netbeans.org/TS_60_Utilities the following strange behaviour could be spotted. * invoke "Replace in project" and search -> there should be results in view "search results", all nodes in view are checked * choose "view as list" mode * click on the checkbox of the first node several times ACTUAL: checkbox is NOT toggled every time EXPECTED : checkbox is toggled every time * redo the search * choose "view as tree" mode * click on the checkbox of the first node --> gets unchecked * click on the checkbox of the first node several times ACTUAL: checkbox is not checked, the node expands EXPECTED : checkbox is checked, the node does not expand ----- Product Version: NetBeans IDE Dev (Build 201211290002) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17 System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
Created attachment 128655 [details] Proposed Patch
The problem is caused by OutlineView that cannot detect checkbox clicks. Please check the proposed patch. Note that the API of class Outline was modified. Thanks. Feel free to assign back to me to prepare apichanges.xml, spec. version, etc.
Created attachment 130595 [details] The API change. Thanks for the patch, it works fine. Adding a patch for API review. I'll provide a test shortly as well.
Created attachment 130646 [details] The test of the checkAt() method.
Please review this simple API change. Thanks.
The change is pushed as changeset: 245982:e85d7a07aae2 http://hg.netbeans.org/core-main/rev/e85d7a07aae2
Integrated into 'main-golden', will be available in build *201302122300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e85d7a07aae2 User: mentlicher@netbeans.org Log: #223021: A protected checkAt() method added to Outline. The check box is checked/unchecked regardless on mouse click counts.