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
import org.eclipse.swt.widgets.Layout;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Monitor;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.jface.util.Geometry;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
/**
 * A JFace window is an object that has no visual representation (no widgets)
 * until it is told to open.
 * <p>
 * Creating a window involves the following steps:
 * <ul>
 *   <li>creating an instance of a concrete subclass of <code>Window</code>
 *   </li>
 *   <li>creating the window's shell and widget tree by calling
 *     <code>create</code> (optional)
 *   </li>
 *   <li>assigning the window to a window manager using 
 *     <code>WindowManager.add</code> (optional)
 *   </li>
 *   <li>opening the window by calling <code>open</code>
 *   </li>
 * </ul>
 * Opening the window will create its shell and widget tree if they have not
 * already been created. When the window is closed, the shell and widget tree
 * are disposed of and are no longer referenced, and the window is automatically
 * removed from its window manager. A window may be reopened.
 * </p>