Bug 47150 [Progress] ProgressMonitorJobsDialog used on shutdown
build I20031119-2030 On shutdown, a ProgressMonitorJobsDialog is used when saving the workspace. This is opened with fork=false and cancelable=false. fork=false means the UI is not processing events, so the Jobs button is unresponsive.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
* @see org.eclipse.ui.application.WorkbenchAdvisor#postWindowRestore
	 */
	public void postWindowRestore(IWorkbenchWindowConfigurer windowConfigurer) throws WorkbenchException {
		int index = PlatformUI.getWorkbench().getWorkbenchWindowCount() - 1;
		
		if (index >=0 && welcomePerspectiveInfos != null && index < welcomePerspectiveInfos.size()) {
			
			IWorkbenchPage page = windowConfigurer.getWindow().getActivePage();
			if (page == null) {
				IWorkbenchPage pages[] = windowConfigurer.getWindow().getPages();
				if (pages != null && pages.length > 0)
					page = pages[0];
			}
			
			String perspectiveId = ((AboutInfo) welcomePerspectiveInfos.get(index)).getWelcomePerspectiveId();
			if (page == null) {
				IAdaptable root = getDefaultWindowInput();
				page = windowConfigurer.getWindow().openPage(perspectiveId, root);
			} else {
				IPerspectiveRegistry reg = PlatformUI.getWorkbench().getPerspectiveRegistry();
				IPerspectiveDescriptor desc = reg.findPerspectiveWithId(perspectiveId);
				if (desc != null) {
					page.setPerspective(desc);
				}
			}
			
			windowConfigurer.getWindow().setActivePage(page);
			page.openEditor(new WelcomeEditorInput((AboutInfo) welcomePerspectiveInfos.get(index)), WELCOME_EDITOR_ID, true);
		}
	}