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 55303 - Doubleclick on the Task column does not invoke Show Source action
Summary: Doubleclick on the Task column does not invoke Show Source action
Status: CLOSED DUPLICATE of bug 55826
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-02-21 15:28 UTC by Jan Lahoda
Modified: 2008-12-22 23:52 UTC (History)
3 users (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 2005-02-21 15:28:57 UTC
NB 200502202100, JDK1.5.0_02.

1. Open a project and a Java class.
2. Open the TODO Window (Window/TODO).
3. Let there are some TODOs in the file.
4. When the TODOs are shown in the TODO window,
double click on the first column of the first
TODO: nothing happens, although IMO the default
(Show Source) action should be performed.

The remaining three variants of invoking the
action (context menu, toolbar icon and F12) work OK.
Comment 1 Ondrej Rypacek 2005-02-24 13:25:09 UTC
reproduced.
Comment 2 Ondrej Rypacek 2005-02-24 17:05:31 UTC
This is a regression, used to work. TreeTableView is used for the
source tasks table and the nodes have actions -- see the popup menu.
DefaultActionAllowed is set to true, so the TreeTableView should
invoke the first action, or am I wrong? 

Comment 3 Jan Chalupa 2005-02-24 20:37:17 UTC
Standa, see if this could be related to any of your recent changes to
TTV. Feel free to re-assign if it's something else.
Comment 4 Stanislav Aubrecht 2005-03-01 15:28:08 UTC
i'm not sure this is a treeview bug.
when double-clicked the selected node is found and the preferred
default action is extracted (node.getPreferredAction()).

the problem is that the new code in treeview introduced by issue
#51400 (takeAction()) handles ContextAwareActions in a special way.
in this case the default action is retrieved as disabled. but i don't
know whose fault it is.
Comment 5 Stanislav Aubrecht 2005-03-03 10:36:42 UTC

*** This issue has been marked as a duplicate of 55826 ***
Comment 6 Marian Mirilovic 2005-07-20 10:41:49 UTC
verified duplicate