Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366347 - Progress View show duplicate entries for short user job
Summary: Progress View show duplicate entries for short user job
Status: CLOSED DUPLICATE of bug 303574
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-11 22:59 EST by Li Chen CLA
Modified: 2013-02-12 17:29 EST (History)
0 users

See Also:


Attachments

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