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
/**
	 * Answer a handle to the zip file currently specified as being the source.
	 * Return null if this file does not exist or is not of valid format.
	 */
	protected ZipFile getSpecifiedZipSourceFile() {
		return getSpecifiedZipSourceFile(archivePathField.getText());
	}
	/**
	 * Answer a handle to the zip file currently specified as being the source.
	 * Return null if this file does not exist or is not of valid format.
	 */
	private ZipFile getSpecifiedZipSourceFile(String fileName) {
		if (fileName.length() == 0)
			return null;
		try {
			return new ZipFile(fileName);
		} catch (ZipException e) {
			displayErrorDialog(DataTransferMessages.ZipImport_badFormat);
		} catch (IOException e) {
			displayErrorDialog(DataTransferMessages.ZipImport_couldNotRead);
		}
		archivePathField.setFocus();
		return null;
	}
	/**
	 * Answer a handle to the zip file currently specified as being the source.
	 * Return null if this file does not exist or is not of valid format.
	 */
	protected TarFile getSpecifiedTarSourceFile() {
		return getSpecifiedTarSourceFile(archivePathField.getText());