Bug 93193 [Dialogs] Infinite search in project import dialog
Using UI from HEAD 1) Open the Existing project import wizard 2) Type "c:\" in the first text field 3) Toggle the radio button to search in archive 4) Type "d:\" in the archive search text field (or some other large directory) 5) Hit Tab to begin search 6) Click Cancel -> It cancels, but when the cancel button gets disabled, focus traverses to the first radio button, which kicks off another search. The result is an infinite search that cannot be canceled.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
IPath locationPath = new Path(record.projectSystemFile
					.getAbsolutePath());
			
			
			
			if (Platform.getLocation().isPrefixOf(locationPath))
				record.description.setLocation(null);
			else
				record.description.setLocation(locationPath);
		} else
			record.description.setName(projectName);
		if (record.projectArchiveFile != null) {
			ArrayList fileSystemObjects = new ArrayList();
			getFilesForProject(fileSystemObjects, record.provider,
					record.parent);
			record.provider.setStrip(record.level);
			ImportOperation operation = new ImportOperation(project
					.getFullPath(), record.provider.getRoot(), record.provider,
					this, fileSystemObjects);
			operation.setContext(getShell());
			return executeImportOperation(operation);
		}
		WorkspaceModifyOperation op = new WorkspaceModifyOperation() {
			protected void execute(IProgressMonitor monitor)
					throws CoreException {
				monitor.beginTask("", 2000); 
				project.create(record.description, new SubProgressMonitor(
						monitor, 1000));
				if (monitor.isCanceled())
					throw new OperationCanceledException();