Bug 31769 progress monitor indication incorrect after resizing [JUnit]
20030211 i'm running a test class with 95 tests i have junit as a fast view in the middle of it running, i resized the view a bit, which made the progress bar jump immediately to 100% and stay there (the numbers were still ticking correctly) don't know if it's junit or swt
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitProgressBar.java
setStatusColor(gc);
		fX= Math.min(rect.width-2, fX);
		gc.fillRectangle(1, 1, fX, rect.height-2);
	}	
	
	public Point computeSize(int wHint, int hHint, boolean changed) {
		checkWidget();
		Point size= null;
		size= new Point(DEFAULT_WIDTH, DEFAULT_HEIGHT);
		if (wHint != SWT.DEFAULT) size.x= wHint;
		if (hHint != SWT.DEFAULT) size.y= hHint;
		return size;
	}
	
	public void step(int failures) {
		fSelection++;
		int x= fX;
		fX= scale(fSelection);
		if (!fError && failures > 0) {
			fError= true;
			x= 1;
		}
		if (fSelection == fMax)
			fX= getClientArea().width-1;
		paintStep(x, fX);
	}
	
}