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 153771

Summary: Modify Criteria for Find in Projects doesn't maintain search scope
Product: utilities Reporter: matthies <matthies>
Component: SearchAssignee: Andrey Yamkovoy <kaktus>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description matthies 2008-11-24 14:29:03 UTC
Steps to reproduce:
1) Select some folder in the Projects or Files view.
2) Perform "Find in Projects" (Ctrl+F) with scope "Selection" (which means the selected folder and sub-folders), such 
that there are search results.
3) From the Search Results window, open some of the results in the editor.
4) Press the Modify Criteria button in the Search Results window.
-> The scope is still "Selection", but now means just the last opened file in the editor. Performing the search again 
from here just searches that single file.

Expected behavior: The applied selection should remain the original one, so that the actual search scope is unchanged.
Comment 1 Andrey Yamkovoy 2008-12-05 10:21:07 UTC

*** This issue has been marked as a duplicate of 148985 ***