Project: Eclipse_Platform_UI
Bug 279748 [Progress] Job with property KEEP_PROPERTY doesn't keep if status not Status.OK_STATUS
Reported: 2009-06-10 03:08:39 | Status: resolved fixed

Sample code: Job job = new UploadJob((IStructuredSelection) selection); job.setProperty(IProgressConstants.KEEP_PROPERTY, Boolean.TRUE); job.setUser(true); job.schedule(); If job successed then it keeps in Progress view; otherwise if IStatus.ERROR returned then it doesn't keep.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/FinishedJobs.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobInfo.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressAnimationItem.java