Bug 50892 Search empty using Search perspective
Build 20040129 Here is my setup: - I have my own Search perspective defined. - I set the preference to use this perspective to report matches. - I'm NOT using the new search view. - I have one window per perspective. When I search for references to a method from the Java perspective, it briefly switches to the Search perspective, then come back to the Java perspctive, continue progress reporting (saying that matches are found), but at the end no result is shown in the Search perspective.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindAction.java
new ProgressMonitorDialog(shell).run(true, true, op);
			} catch (InvocationTargetException ex) {
				ExceptionHandler.handle(ex, shell, SearchMessages.getString("Search.Error.search.title"), SearchMessages.getString("Search.Error.search.message")); 
			} catch(InterruptedException e) {
				
			} finally {
				if (isAutoBuilding) {
					
					workspaceDesc= JavaPlugin.getWorkspace().getDescription();
					workspaceDesc.setAutoBuilding(true);
					try {
						JavaPlugin.getWorkspace().setDescription(workspaceDesc);
					}
					catch (CoreException ex) {
						ExceptionHandler.handle(ex, shell, SearchMessages.getString("Search.Error.setDescription.title"), SearchMessages.getString("Search.Error.setDescription.message")); 
					}
				}				
			}
		}
	}
	private void performNewSearch(IJavaElement element) throws JavaModelException {
		JavaSearchQuery job= createJob(element);
		JavaSearchResult result= new JavaSearchResult(job);
		NewSearchUI.activateSearchResultView();
		NewSearchUI.runSearchInBackground(job, result);
	}
	protected JavaSearchQuery createJob(IJavaElement element) throws JavaModelException {
		IType type= getType(element);
		return new JavaSearchQuery(element, getLimitTo(), getScope(type), getScopeDescription(type));
	}