Bug 33085 [Preferences] Last page not remembered the second time
RC1 build - Window / Preferences - select the Appearance page - OK - Window / Preferences - Appearance page is still selected - OK - Window / Preferences - Workbench is selected It should always remember the last page, even if the page isn't changed.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
}
		});
		newShell.addShellListener(new ShellAdapter() {
			public void shellActivated(ShellEvent e) {
				if (lastShellSize == null)
					lastShellSize = getShell().getSize();
			}
		});
	}
	/*(non-Javadoc)
	 * Method declared on Window.
	 */
	protected void constrainShellSize() {
		super.constrainShellSize();
		
		if (lastShellSize == null)
			lastShellSize = getShell().getSize();
	}
	/* (non-Javadoc)
	 * Method declared on Dialog.
	 */
	protected void createButtonsForButtonBar(Composite parent) {
		
		okButton =
			createButton(
				parent,
				IDialogConstants.OK_ID,
				IDialogConstants.OK_LABEL,
				true);
		getShell().setDefaultButton(okButton);