| Summary: | [Progress] fast finished Job cannot be removed from view | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Markus Schorn <mschorn.eclipse> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | CLOSED DUPLICATE | QA Contact: | Prakash Rangaraj <prakash> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Markus Schorn
Markus,
I'm trying with an empty job (that does nothing) on 3.5 and didn't face this problem. If you can still reproducible in 3.5, please reopen this bug with a sample job.
The problem still exists, however that the issue arises with a fast job is just a coincidence. Here is what really happens: In our use case the job-monitor is updated from a different thread. Similar as in bug 149857 with calling IProgressMonitor.isCanceled(), updating the information on the monitor (using IProgressMonitor.subTask() and/or IProgressMonitor.worked()) after the job is done causes the job to stay in the progress view. (In reply to comment #2) > The problem still exists, however that the issue arises with a fast job is just > a coincidence. Here is what really happens: > > In our use case the job-monitor is updated from a different thread. > Similar as in bug 149857 with calling IProgressMonitor.isCanceled(), updating > the information on the monitor (using IProgressMonitor.subTask() and/or > IProgressMonitor.worked()) after the job is done causes the job to stay in the > progress view. Is it possible for you attach a sample code to reproduce the scenario? (In reply to comment #3) > (In reply to comment #2) > > The problem still exists, however that the issue arises with a fast job is just > > a coincidence. Here is what really happens: > > > > In our use case the job-monitor is updated from a different thread. > > Similar as in bug 149857 with calling IProgressMonitor.isCanceled(), updating > > the information on the monitor (using IProgressMonitor.subTask() and/or > > IProgressMonitor.worked()) after the job is done causes the job to stay in the > > progress view. > Is it possible for you attach a sample code to reproduce the scenario? Nope, I don't want to spend additional time on this. I am happy that we did find a workaround during the last 2 years. *** This bug has been marked as a duplicate of bug 395645 *** |