| Summary: | [Progress] progress not updated and not resizing properly | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Michael Van Meekeren <michaelvanmeekeren> | ||||||
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cdtdoug | ||||||
| Version: | 3.2 | Keywords: | helpwanted | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | stalebug | ||||||||
| Attachments: |
|
||||||||
|
Description
Michael Van Meekeren
Created attachment 38300 [details]
progress view
Which build are you using? Build id: N20060410-0010 todays Reopening I'm getting something similar with my new CDT indexer. I have a Job and am using the documented approach of using subTask to show which file I'm indexing. But I'm only getting one update from subTask, all others seem to get dropped.
Here's the sample code from the Help. I've added a sleep as the work. You only get "Processing tick #1". This is with RC1.
---
protected IStatus run(IProgressMonitor monitor) {
final int ticks = 60;
monitor.beginTask("Doing some work", ticks);
try {
for (int i = 0; i < ticks; i++) {
if (monitor.isCanceled())
return Status.CANCEL_STATUS;
monitor.subTask("Processing tick #" + i);
try { Thread.sleep(100); } catch (InterruptedException e) { }
monitor.worked(1);
}
} finally {
monitor.done();
}
return Status.OK_STATUS;
}
Created attachment 38787 [details]
Screen shot of progress view
Using N20060418-0010, I'm seeing all kinds of strangeness in the progress view:
- duplicate entries in the view for a single job
- background colors not correctly alternating (grey, white, grey, ...)
- Weird vertical sizing of progress items (see screen shot)
John the duplicate jobs is an indexing problem I introduced last night. The rest of your problems are existing ones that I will look at. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |