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 40684 - Double click on a TODO does not invoke "Show Source" action
Summary: Double click on a TODO does not invoke "Show Source" action
Status: VERIFIED DUPLICATE of bug 40688
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
: 40786 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-02 13:15 UTC by Jan Lahoda
Modified: 2008-12-22 20:44 UTC (History)
1 user (show)

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 Jan Lahoda 2004-03-02 13:15:11 UTC
Build 200403020736, JDK1.4.2.

Steps to reproduce:
1. Open the TODO window (Window/To Do).
2. Let there are some TODOs in the current editor.
3. Double click on the todo entry in the TODO
Window does not invoke the "Show Source" action
(does not jump into the editor). Invoking this
action from the pop-up menu or using the icon
works OK.

The problem occurs for both Current File and
Selected Folder tabs.
Comment 1 Ondrej Rypacek 2004-03-02 13:56:33 UTC
I cannot reproduce the bug you describe. Everything works just fine
with the latest sources.
Comment 2 _ pkuzel 2004-03-02 15:31:47 UTC
On doubleclick no performAction is called.

Our code does not use deprecated setDefaultAction but overwrites
getPreferredAction.
Comment 3 _ pkuzel 2004-03-02 15:34:19 UTC
... and getPreferredAction is not called.
Comment 4 _ pkuzel 2004-03-02 15:52:46 UTC
It could also be TTV problem nodes actualy reside in TTV.
Comment 5 _ tboudreau 2004-03-02 17:17:22 UTC
Possibly related to issue 40688 (now fixed)?  There was a problem that editCellAt() was 
being called once for mouse-pressed, again for mouse-clicked and again for mouse 
released, so for example, checkboxes were toggled three times for a single click.  I fixed 
this a little too aggressively, since it seems the tree column really needs all three events.  

See if it's working now.
Comment 6 Jan Lahoda 2004-03-03 14:47:09 UTC

*** This issue has been marked as a duplicate of 40688 ***
Comment 7 Jan Lahoda 2004-03-03 14:48:11 UTC
This bug is a positive duplicate of bug #40688
Comment 8 Ondrej Rypacek 2004-03-05 12:44:11 UTC
*** Issue 40786 has been marked as a duplicate of this issue. ***