Bug 51596 [Jobs] Progress Dialog on dual monitor setup opens on the wrong monitor
Build I20040205 on WIN NT/SP6. I have a dual monitor setup and I usually run eclipse on the second monitor. The normal progress dialog opens correctly centered on the second monitor. The new progress monitor (the one which shows that a operation is blocked by a background process with the list of background tasks operating) always opens on the first monitor.
bundles/org.eclipse.jface/src/org/eclipse/jface/window/Window.java
* (1/2 of the difference to the left and 1/2 to the right)
 * and vertically (1/3 above and 2/3 below) relative to the parent shell, 
 * or display bounds if there is no parent shell.
 *
 * @param initialSize the initial size of the shell, as returned by <code>getInitialSize</code>.
 * @return the initial location of the shell
 */
protected Point getInitialLocation(Point initialSize) {
	Composite parent = shell.getParent();
	
	Monitor monitor = shell.getDisplay().getPrimaryMonitor();
	if (parent != null) {
		monitor = parent.getMonitor();
	}
	
	Rectangle monitorBounds = monitor.getClientArea();
	Point centerPoint;
	if (parent != null) {
		centerPoint = Geometry.centerPoint(parent.getBounds());
	} else {
		centerPoint = Geometry.centerPoint(monitorBounds);
	}
	
	return new Point(centerPoint.x - (initialSize.x / 2), 
			Math.max(monitorBounds.y, Math.min(centerPoint.y - (initialSize.y * 2 / 3),
							monitorBounds.y + monitorBounds.height - initialSize.y)));
}
/**
 * Returns the initial size to use for the shell.
 * The default implementation returns the preferred size of the shell,