| Summary: | [Progress] Close button on ProgressMonitorFocusJobDialog does nothing | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Missing name Mising name <arnovanrensburg> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | remy.suen |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | stalebug | ||
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. -- The automated Eclipse Genie. This bug has been marked with as "stalebug" for some time now. I mark this bug as "worksforme" to indicate that no work is planned here. If this bug is still relevant for the latest release, please reopen the bug and remote the "stalebug" whiteboard tag. |
Build Identifier: M20090917-0800 I am doing the following to schedule a job and show progress in a dialog: job.schedule(); PlatformUI.getWorkbench().getProgressService().showInDialog(Display.getDefault().getActiveShell(),job); This results in a progress dialog being displayed, with a close button that does not do anything. Looking at the code for ProgressMonitorFocusJobDialog, the close() method looks like this: public boolean close() { if (getReturnCode() != CANCEL) WorkbenchPlugin.getDefault().getPreferenceStore().setValue( IPreferenceConstants.RUN_IN_BACKGROUND, showDialog); return super.close(); } Which does not do anything if the close button [x] was pressed. Reproducible: Always