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

Bug 366347

Summary: Progress View show duplicate entries for short user job
Product: [Eclipse Project] Platform Reporter: Li Chen <chenli868>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.6.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Li Chen CLA 2011-12-11 22:59:41 EST
Build Identifier: 3.6.2.M20101201-0800

If I have a user job that runs shorter than the ProgressManagerUtil.SHORT_OPERATION_TIME, then the progress view will show two entries for this job after it is finished.

Reproducible: Always

Steps to Reproduce:
1.Set "ProgressManagerUtil.SHORT_OPERATION_TIME = 2000". You can put this in postWindowOpen() method in ApplicationWorkbenchWindowAdvisor.
2.Create a job last less than 2 seconds. Then set the following attribute:
job.setProperty(IProgressConstants.PROPERTY_IN_DIALOG, true);
job.setProperty(IProgressConstants.KEEP_PROPERTY, true);
job.setUser(true);

3.job.schedule();

After the job is finished. You can see two entry in the progress view. If you have a job last longer than 2 seconds, (Showing progress bar instead of busy indicator) you will see only one entry in progress view
Comment 1 John Arthorne CLA 2013-02-12 17:29:10 EST

*** This bug has been marked as a duplicate of bug 303574 ***