Bug 276781 - [Progress] IProgressService.run(true, true, ...) doesn't work from modal dialogs
Summary: [Progress] IProgressService.run(true, true, ...) doesn't work from modal dialogs
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 17:24 EDT by Ed Snible CLA
Modified: 2019-09-06 16:16 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.