Project: Eclipse_Platform_UI
Bug 171586 [Progress] Group progress updates too late
Reported: 2007-01-24 14:15:43 | Status: verified fixed

Build ID: M20070112-1200 Steps To Reproduce: The following test is based on the org.eclipse.ui.examples.job 1. The A TestJobRule was created as in the More information 2. The following change was made in JobsView to set the rule for the job result result.setUser(user); result.setRule(new TestJobRule(i)); result.schedule(delay); 3. In the Job Factory view, check Run in Group, Keep and User Job. 4. Create 3 jobs 5. When the progress dialogue comes up, press the button Run in background 6. There is no progress in the progress view until the last job. If the job runs without schedule rule, the progress view displays information about the jobs when they are running in background. This is also how it used to work in 3.1.2. I would think this is a regression. More information: Code of TestJobRule import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.jobs.ISchedulingRule; public class TestJobRule implements ISchedulingRule { private int jobOrder; public TestJobRule (int order){ jobOrder = order; } public boolean contains(ISchedulingRule rule) { if (rule instanceof IResource || rule instanceof TestJobRule) return true; return false; } public boolean isConflicting(ISchedulingRule rule) { if (!(rule instanceof TestJobRule)) return false; return ((TestJobRule)rule).getJobOrder() >= jobOrder; } public int getJobOrder() { return jobOrder; } }

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressInfoItem.java examples/org.eclipse.ui.examples.job/src/org/eclipse/ui/examples/jobs/TestJobRule.java examples/org.eclipse.ui.examples.job/src/org/eclipse/ui/examples/jobs/views/JobsView.java