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 181762 - [regression] Tools context menu is not available anymore when select 2 files
Summary: [regression] Tools context menu is not available anymore when select 2 files
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2010-03-10 07:44 UTC by Vladimir Voskresensky
Modified: 2010-03-23 05:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
diff available (74.64 KB, image/gif)
2010-03-10 08:57 UTC, Ondrej Vrabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2010-03-10 07:44:36 UTC
IDE recently have lost functionality to make Diff when two files are selected in Project/Files/Favorites views
previously there was Tools->Diff
Comment 1 Ondrej Vrabec 2010-03-10 08:57:29 UTC
Can't reproduce in today build (cdev 20100310), see the attached screenshot. What exactly does 'recently' mean? When you file a P2 bug, could you please provide at least the build number you're currently using. I think i suffered the same issue at the beginning of the week, but rebuilding the IDE helped.
Comment 2 Ondrej Vrabec 2010-03-10 08:57:34 UTC
Created attachment 94990 [details]
diff available
Comment 3 Vladimir Voskresensky 2010-03-10 09:09:45 UTC
I'm sorry for not giving enough info:
NetBeans IDE Dev (Build 100310-c745a30f86ee)

Issue is with context menu in Files/Favorites windows.
Previously when I selected two files in any view => I saw Tools->Diff
now there are no "Tools" submenu anymore when *two files* are selected
Comment 4 Ondrej Vrabec 2010-03-10 10:41:30 UTC
ToolsAction: but it should be fixed in jarda's #794925f4d016
Comment 5 Jaroslav Tulach 2010-03-10 10:48:52 UTC
If it is, then this is duplicate of bug 181392.

*** This bug has been marked as a duplicate of bug 181392 ***
Comment 6 Vladimir Voskresensky 2010-03-10 11:09:25 UTC
I don't think this is dup of bug 181392.
(because I've faced 181392 as well, but now I have Tools in context menu, but talking with issue about multiple selections)

http://hg.netbeans.org/cnd-main/rev/794925f4d016
is already in cnd-main => I will verify tomorrow
Comment 7 Vladimir Voskresensky 2010-03-10 11:16:14 UTC
I have checked with 6.8 and current self-made trunk version
When we had multiple selection => we had 
Tools->
       Add to Favorites
       -----------------
       Diff

Now we don't have Tools submenu anymore in Files/Favorites
but it is available in Java projects view (but not available for C++ projects anymore)
Comment 8 Ondrej Vrabec 2010-03-10 11:31:17 UTC
It seems it's dependent on the kind of nodes you select in Fav/Files view. The submenu is displayed when one of the nodes is a java file, but when both nodes are e.g. text files, the Tools submenu does not appear.
Reassigning for further evaluation.
Comment 9 Jaroslav Tulach 2010-03-22 13:26:15 UTC
OK, two .html files don't have Tools submenu in popup menu at all.
Comment 10 Vladimir Voskresensky 2010-03-22 13:31:34 UTC
any two files don't have Tools submenu in popup menu at all.
exept the case when one of files if *.java file :-)
Comment 11 Jaroslav Tulach 2010-03-22 13:51:45 UTC
core-main#bcda8d04d287
Comment 12 Quality Engineering 2010-03-23 05:14:30 UTC
Integrated into 'main-golden', will be available in build *201003230200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bcda8d04d287
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #181762: ToolsAction's popup menu is visible even if its actions don't provide special Popup presenters