Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333240 - stepping through php files in search view fails after opening two files
Summary: stepping through php files in search view fails after opening two files
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-27 09:04 EST by Tim Diggins CLA
Modified: 2020-05-14 11:17 EDT (History)
2 users (show)

See Also:


Attachments
stacktrace from error view (5.45 KB, text/plain)
2010-12-27 09:06 EST, Tim Diggins CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Diggins CLA 2010-12-27 09:04:28 EST
Build Identifier: M20100909-0800

If I do a search for a particular phrase/string (with/without regexp, case match) and then step through the search results (in the search view) using "show next match", this will work (navigating over each found context) until you navigate to a different unopened file twice (i.e. it works for the first file opened, and for the next file opened, but not for any subsequent file needing to be opened). 

It will work again if you close all editor tabs or open the relevant file manually

searching within other file types (e.g. js files) does not display this problem so I infer it is a problem with PDT.

will add the stack trace in ErrorLog as attachment

Reproducible: Always

Steps to Reproduce:
1.open a workspace with a php project with plenty of php files in it, ensure all editors closed
2. Menu option: "Search/File"
3. add some text that will find many results ("$_")
4. in the search view, click the down arrow ("Show Next match") and continue to do so as the matches move. After the file changes twice, "show next match" will apparently cease to function (although the search view will change the actual area will not be displayed in the editor").

to reset/workaround, close the editors, or (workaround) open the files manually
Comment 1 Tim Diggins CLA 2010-12-27 09:06:19 EST
Created attachment 185835 [details]
stacktrace from error view
Comment 2 Tim Diggins CLA 2010-12-27 10:08:01 EST
Failed to mention that I had this problem occurring on the "Eclipse for PHP developers" helios download and also tried Eclipse Classic 3.6.1 and installing PDT (2.2.1) on top
Comment 3 Michal Niewrzal CLA 2016-06-05 17:22:31 EDT
Looks ok now. Probably fixed indirectly.
Comment 4 Sylvia Tancheva CLA 2016-06-15 09:44:59 EDT
Does not reproduce on El Capitan with PDT 4.0. Closing