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 57200 - find.. not available in vcsfs root
Summary: find.. not available in vcsfs root
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 4.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 14:06 UTC by Milos Kleint
Modified: 2005-04-01 09:54 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 Milos Kleint 2005-03-30 14:06:07 UTC
macosx + jdk 1.4 build from 27/03/2005

after mounting the vcs filesystem (where root of the filesystem was the core
module directory), I opened core project. Switched to Files explorer, rightclick
on the root folder (Core) and Find... action is disabled.
Comment 1 Martin Entlicher 2005-03-30 14:36:34 UTC
Definitely not caused by VCS. In older NB build with up-to-date VCS modules Find
*is* enabled. However, recently I've seen Find sometimes disabled, but several
changes of selected nodes fixed this.

I'll check it once again on an up-to-date build to be sure, but I'll very likely
move this somewhere else...
Comment 2 Martin Entlicher 2005-03-31 10:08:06 UTC
Probably a bug of WinSys or the Find action...
There does not seem to be a relation with VCS FS, when you switch from Editor
(or any other mode) to the Explorer (directly right-click on the desired
folder), the Find is disabled. Clicking on any other node and back solves the
problem.

Moving to search for evaluation, but the problem might be somewhere else.
Comment 3 Marian Petras 2005-04-01 08:57:37 UTC
It is possible that it would be a bug in search, indeed. I rewrote the
enable/disable mechanism for the Find action just on Monday because it stopped
working (see bug #56993 - "Find action on Project node in Projects View is
disabled").

I am going to commit an enhanced code and then test it on another machine (MacOS
machine).
Comment 4 Marian Petras 2005-04-01 09:54:14 UTC
Fixed in the trunk (I hope).

I made a single change in the code such that I now put a *context-aware variant*
of the Find action implementation into TopComponent's action maps.

After I made the change, I tried to reproduce the bug on the reporter's machine
but I am still not sure it is definitely fixed. If you are able to reproduce it
with the new build, please leave me a note.


Modified file:
    utilities/src/org/netbeans/modules/search/FindActionManager.java   (1.7)

Diff:
http://utilities.netbeans.org/source/browse/utilities/src/org/netbeans/modules/search/FindActionManager.java?r1=1.6&r2=1.7&diff_format=u