Bug 58095 [Preferences] Selecting pref page moved dialog to other screen
When I move the preferences dialog to my secondary screen and change a prefpage, the entire dialog moves back to my primary screen and "hugs" the right border of the main screen.
bundles/org.eclipse.jface/src/org/eclipse/jface/window/Window.java
return returnCode;
}
/**
 * Returns this window's shell.
 *
 * @return this window's shell, or <code>null</code> if this window's
 *   shell has not been created yet
 */
public Shell getShell() {
	return shell;
}
/**
 * Returns a shell listener. This shell listener gets registered
 * with this window's shell.
 * <p>
 * The default implementation of this framework method
 * returns a new listener that makes this window the
 * active window for its window manager (if it has one)
 * when the shell is activated, and calls the framework
 * method <code>handleShellCloseEvent</code> when the
 * shell is closed. Subclasses may extend or reimplement.
 * </p>
 *
 * @return a shell listener
 */
protected ShellListener getShellListener() {
	return new ShellAdapter() {
		public void shellClosed(ShellEvent event) {
			event.doit= false;	
			if (canHandleShellCloseEvent())