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.
Summary: | Project-sensitive search needs to use Sources, not DataFolder | ||
---|---|---|---|
Product: | utilities | Reporter: | Jesse Glick <jglick> |
Component: | Search | Assignee: | Marian Petras <mpetras> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jskrivanek, phrebejk |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 42741 | ||
Bug Blocks: | 41448 |
Description
Jesse Glick
2004-04-27 23:10:31 UTC
Accepted. Fixed in the trunk. projects/projectui/src/org/netbeans/modules/project/ui/ ProjectsRootNode.java - CVS revision 1.6 Well I removed the project folder from j2seproject's root node's lookup. But it seems the Find context menu item is disabled. At least in the case of a project with external sources. Please recheck. Jirka confirms it does not work. Sorry, wrong Jirka, back to bed. :-O I confirm that the change you made caused the Find action to be disabled. But the reason is not that I would use DataFolders (instead of Sources). The cause is that the mechanism for enabling/disabling the Find action checks for a DataObject cookie (which is wrong). I already have a fix for it. I will integrate it tomorrow. OK, thanks. Fixed in the trunk. Note that phrebejk accidentally reverted my fix to j2seproject recently, so until he fixes that, don't bother checking whether this patch really worked. Oops. Sorry. Jesse could you be more specific where the patch was? Jesses changes are back should be back. Verifying that find works well. |