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
Layout layout = getLayout();
	if (layout != null)
		newShell.setLayout(layout);
}
/**
 * Creates the layout for the shell. The layout
 * created here will be attached to the composite
 * passed into createContents. The default implementation
 * returns a GridLayout with no margins. Subclasses
 * that change the layout type by overriding this method
 * should also override createContents.
 * 
 * <p>A return value of null indicates that no layout 
 * should be attached to the composite. In this case, the
 * layout may be attached within createContents.</p>
 * 
 * @return a newly created Layout or null if no layout should be 
 * attached. 
 * @since 3.0
 */
protected Layout getLayout() {
	GridLayout layout = new GridLayout();
	layout.marginHeight = 0;
	layout.marginWidth = 0;
	return layout;
}
/**
 * Constrain the shell size to be no larger than the display bounds.
 * 
 * @since 2.0