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.

Bug 40688 - Cannot expand node in TreeTableView
Summary: Cannot expand node in TreeTableView
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 3.x
Hardware: Macintosh Mac OS X
: P1 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: REGRESSION
: 40684 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-02 14:42 UTC by Tomas Hurka
Modified: 2008-12-22 20:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2004-03-02 14:42:00 UTC
Nodes cannot be expanded in any TreeTableView (for 
example 
Tool->Options). This problem was caused by this commit:
http://openide.netbeans.org/servlets/ReadMsg?
msgId=706342&listName=cvs

revision 1.44 TreeView.java
Comment 1 _ tboudreau 2004-03-02 15:05:05 UTC
Probably caused by my fix for editCellAt() being called 3 times on debugger checkboxes, 
once for mouse pressed, again for mouse clicked, and a third time for mouse released.  
Will fix.
Comment 2 Tomas Hurka 2004-03-02 15:14:24 UTC
I am sure it is caused by your fix for editCellAt(). If I rollback revision 1.44 
TreeView.java to revision 1.43, everything woks fine.
Comment 3 _ tboudreau 2004-03-02 15:17:04 UTC
Yes, well it is really an issue for the debugger if any click on a boolean toggles it off, then 
on again, then off, so we shouldn't roll that back.

Fixed in trunk.  FYI, I'm out sick today and probably tomorrow - where/how should this 
get integrated into the 3.6 release branch?

=======================================================
============
RCS file: /cvs/openide/src/org/openide/explorer/view/TreeTable.java,v
retrieving revision 1.44
diff -r1.44 TreeTable.java
371c371
<         if (e instanceof MouseEvent) {
---
>         if (e instanceof MouseEvent && column != 0) {
Tim-Boudreaus-Computer:/space/nb_all/openide/src/org/openide/explorer/view tim$ 
cvs commit
cvs commit: Examining .
Checking in TreeTable.java;
/cvs/openide/src/org/openide/explorer/view/TreeTable.java,v  <--  TreeTable.java
new revision: 1.45; previous revision: 1.44
done
Processing log script arguments...
Mailing the commit message to cvs@openide.netbeans.org (from 
tboudreau@netbeans.org)
Comment 4 Lukas Hasik 2004-03-02 15:43:34 UTC
Tim, follow this
http://www.netbeans.org/community/releases/36/high-resistance.html 
Comment 5 _ tboudreau 2004-03-02 17:28:59 UTC
Okay, I've submitted it to reviewers.
Comment 6 Jan Lahoda 2004-03-03 14:46:36 UTC
Well, the fix seems working in 200403021900.
Comment 7 Jan Lahoda 2004-03-03 14:47:08 UTC
*** Issue 40684 has been marked as a duplicate of this issue. ***
Comment 8 David Simonek 2004-03-04 12:06:14 UTC
OK, reviewed, it's just simple one line fix - narrowing condition to
not accept column 0.
Comment 9 _ tboudreau 2004-03-06 16:28:37 UTC
Merged to release36 branch.

Checking in TreeTable.java;
/cvs/openide/src/org/openide/explorer/view/TreeTable.java,v  <--  TreeTable.java
new revision: 1.44.2.1; previous revision: 1.44
done
Processing log script arguments...
Mailing the commit message to cvs@openide.netbeans.org (from 
tboudreau@netbeans.org)