Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316739 - [Progress] Close button on ProgressMonitorFocusJobDialog does nothing
Summary: [Progress] Close button on ProgressMonitorFocusJobDialog does nothing
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-14 06:05 EDT by Missing name Mising name CLA
Modified: 2019-08-08 15:20 EDT (History)
1 user (show)

See Also:


Attachments

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