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.
[ BUILD # : 200808111757 ] [ JDK VERSION : 1.6.0_04 ] This is for the Beta build. When I use Go To File, I frequently get more files than desired even when I give the full file name. Typing SqlTest.xml will return: Sql* (Pretty much everything beginning with Sql).
Jirko, can you check it? It works well for me.
Works for me. Having following files in project: Main.java SqlPerson.java SqlTestFactory.xml SqlClass.java SqlPerson.xml TestFoo.java SqlFactory.java SqlTest.xml TestedFoo.java Typing SqlTest.xml returns only SqlTest.xml
Created attachment 67527 [details] Output
See attached screenshot.
Created attachment 67733 [details] Screen_Shot_of_Bug
I have attached a screenshot taken from build 200808170243. I have removed file names and project names. All of the file names start with the same name such as MyFile. It almost seems as if it started the search prior to typing the (.js). However, I had typed the whole string and waited ~203 seconds before the list was displayed.
Correction, waited ~2-3 seconds not 203 seconds.
So, you firstly type: MyFile than wait for while (longer than 500ms) added .js and than waited again, right? It possible that there is some race condition, the original author of this feature didn't cared about visibility and synchronization much.
I typed the file name I was looking for, then brought up the Go To File dialog and paste the filename into the text field. This found the single file I was looking for. The problem I see is that I didn't realize that I paused for ~500ms so the results look inaccurate to me.
Thanks for feedback. The Goto file should stop the search and restart it when you type a change => threading issue, either there is no cancellation or the cancel flag is not volatile.
It does not appear to reset as I type. I tried typing something then using the backspace key and the search seemed to ignore my changes.
http://hg.netbeans.org/main/rev/3715cdd49b99
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/3715cdd49b99 User: Tomas Zezula <tzezula@netbeans.org> Log: #143947:[65cat] Go To File returns incorrect results
I have verified that this is fixed in build 200808280201.