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.
After telling NetBeans to import some of my plugins from 6.5 I decided to press "Run in background", but the "Import modules" dialog stayed open. This allowed me to start several import-processes in the same mannor. I'm assuming that the desired behaviour here should have been that the dialog disappeared when I pressed "Run in background".
Yes, that is incorrect. The issue is hidden in the following code of ImportManager.doImport(): wizardFinished = PluginManager.openInstallWizard (oc); if (wizardFinished) { toInstall.clear (); checkedToInstall.clear (); } else { res = false; } In case the import wizard is send to background, the wizardFinished variable becames false and so nothing happens. It is so because InstallUnitWizard.implInvokeWizard() checks the cancel status by the following line: boolean cancelled = wizardDescriptor.getValue() != WizardDescriptor.FINISH_OPTION; In case wizard went to background wizardDescriptor.getValue() is actually WizardDescriptor.NEXT_OPTION. Theoretically we should change the 'cancelled' status check to boolean cancelled = wizardDescriptor.getValue() == WizardDescriptor.CANCEL_OPTION || wizardDescriptor.getValue() == WizardDescriptor.CLOSED_OPTION; but should be done only after thorough testing for regressions.
fixed in NetBeans 7.4 Beta