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 178610 - Need incremental result display for Go to File
Summary: Need incremental result display for Go to File
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-12-14 09:38 UTC by Jesse Glick
Modified: 2014-06-17 15:45 UTC (History)
1 user (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 Jesse Glick 2009-12-14 09:38:03 UTC
Say I have twenty projects open, some small, some quite large. With one of the small projects selected, I open the Go to File dialog. The "Prefer Current Project" checkbox is checked. I type the name of a file which is in fact in this (small) project. A couple of minutes and 2% of my battery power later, "Searching..." is replaced by that one search hit. Evidently all of the open projects were searched, and then the result was displayed.

So what was the point of checking "Prefer Current Project"? What I expected was for the current project to be searched, the expected hit to be displayed in a second or two, and "Searching for more..." to be displayed in case I really was looking for a file with a similar name in another project and was willing to wait for it.

Awkward workaround is not to use GtF at all, but select the project node, Ctrl-F, and put the filename into the second search field.
Comment 1 Victor Vasilyev 2010-05-13 14:44:33 UTC
I think, it is the same issue as for "Go to Type" described in the Bug 121389.
Seems we need use "Scope" options in all dialogs providing search and navigation to get additional info from a user about expected search results. 
Knowledge about a desired scope of searching will let us optimize these processes of searching. 

Unfortunately, resolving of this issue should be readdressed to the next release.
Comment 2 markiewb 2013-05-01 20:08:39 UTC
Obsolete target milestone. Changed from 7.0 to TBD
Comment 3 Tomas Zezula 2014-06-17 15:45:10 UTC
Fixed jet-main
http://hg.netbeans.org/jet-main/rev/382c191fae96
http://hg.netbeans.org/jet-main/rev/666f86079c2c
http://hg.netbeans.org/jet-main/rev/ef89919cf5dd

Fixed as explained, when files from index are known they are displayed.
The file list is then updated by files found by file system crawling.