Bug 276781

Summary: [Progress] IProgressService.run(true, true, ...) doesn't work from modal dialogs
Product: [Eclipse Project] Platform Reporter: Ed Snible <snible>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: prakash, remy.suen
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ed Snible CLA 2009-05-18 17:24:34 EDT
Build ID: 1.6.1.v20090218-0921

Steps To Reproduce:
PlatformUI.getWorkbench().getProgressService() supplies org.eclipse.ui.internal.progress.ProgressManager.  If run() is called with fork=cancellable=true instead of bringing up the ProgressMonitorJobsDialog run() calls busyCursorWhile() which is supposed to bring up the dialog.  But the dialog never appears.

More information:
The dialog never appears because ProgressManagerUtil.safeToOpen() returns false if a modal dialog is up.  It keeps trying, but keeps failing.

Thus a modal dialog cannot use the PlatformUI.getWorkbench().getProgressService() for cancellable forkable tasks.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:16:19 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.