Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 136144

Summary: [Progress] progress not updated and not resizing properly
Product: [Eclipse Project] Platform Reporter: Michael Van Meekeren <michaelvanmeekeren>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 3.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
progress view
none
Screen shot of progress view none

Description Michael Van Meekeren CLA 2006-04-11 12:43:08 EDT
See attached image.

- the text indicates that we are 20% done but the progress bar is more like 70%
- when resizing the view smaller the red cancel button should always remain in view yet it gets cut off so you can no longer cancel.
Comment 1 Michael Van Meekeren CLA 2006-04-11 12:43:25 EDT
Created attachment 38300 [details]
progress view
Comment 2 Tod Creasey CLA 2006-04-11 14:20:04 EDT
Which build are you using?
Comment 3 Michael Van Meekeren CLA 2006-04-11 14:45:31 EDT
Build id: N20060410-0010

todays
Comment 4 Tod Creasey CLA 2006-04-11 14:52:59 EDT
Reopening
Comment 5 Doug Schaefer CLA 2006-04-17 20:55:42 EDT
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;
}
Comment 6 John Arthorne CLA 2006-04-18 09:49:33 EDT
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)
Comment 7 Tod Creasey CLA 2006-04-18 10:51:24 EDT
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.
Comment 8 Susan McCourt CLA 2009-07-09 19:37:28 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 9 Eclipse Webmaster CLA 2019-09-06 15:30:53 EDT
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.
Comment 10 Eclipse Genie CLA 2021-10-20 10:02:41 EDT
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.