Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326796 - [Progress] Job progress popup changed: launching one job many times makes job dialog pop up multiple times
Summary: [Progress] Job progress popup changed: launching one job many times makes job...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-01 11:51 EDT by Mircea CLA
Modified: 2021-11-07 15:19 EST (History)
2 users (show)

See Also:


Attachments
screenshot fo the problem (77.98 KB, image/jpeg)
2010-10-01 11:54 EDT, Mircea CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea CLA 2010-10-01 11:51:51 EDT
Build Identifier: 20100917-0705

I recently updated my Eclipse from 3.5 to 3.6 and have noticed that the UI behavior of the Job API has changed
Whenever I launch multiple jobs in my RCP application running under 3.6, multiple job popups appear that represent the exact same data. 

Reproducible: Always

Steps to Reproduce:
1. Create a sample RCP Application
2. Bind the following code with an action and a toolbar button:
        Job job = new Job("long running action") {
            protected org.eclipse.core.runtime.IStatus run(IProgressMonitor monitor) {

                // Generator.this.mainView.getButtonGenerateConstraints().setEnabled(false);
                monitor.beginTask("Long running action", 100);
                for (int i = 0; i < 10; i++) {
                    if (monitor.isCanceled()) {
                        // Generator.this.mainView.getButtonGenerateConstraints().setEnabled(true);
                        return Status.CANCEL_STATUS;
                    }
                    monitor.subTask("working on step " + i);
                    monitor.worked(10);
                    MyAction.this.sleep(1000);
                }
                monitor.done();
                // Generator.this.mainView.getButtonGenerateConstraints().setEnabled(true);
                return Status.OK_STATUS;
            }
        };
        job.setUser(true);
        job.schedule();

3. Press multiple times on the button. Many repetitive popups of the same job(s) appear, and they contain the exact same data
Comment 1 Mircea CLA 2010-10-01 11:54:00 EDT
Created attachment 180071 [details]
screenshot fo the problem
Comment 2 Eclipse Webmaster CLA 2019-09-06 15:35:40 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.
Comment 3 Eclipse Genie CLA 2021-11-07 15:19:12 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.