Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316739

Summary: [Progress] Close button on ProgressMonitorFocusJobDialog does nothing
Product: [Eclipse Project] Platform Reporter: Missing name Mising name <arnovanrensburg>
Component: UIAssignee: 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

Description Missing name Mising name CLA 2010-06-14 06:05:04 EDT
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
Comment 1 Eclipse Genie CLA 2018-12-30 14:12:08 EST
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.
Comment 2 Lars Vogel CLA 2019-08-08 15:20:32 EDT
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.