Project: Eclipse_Platform_UI
Bug 275867 [ErrorHandling] StatusManager#handle() produces a dialog that is not centered well
Reported: 2009-05-12 09:33:41 | Status: verified fixed

Build ID: 3.5m7 Steps To Reproduce: If a product provides their own org.eclipse.ui.statushandlers.AbstractStatusAreaProvider implementation then the dialog displayed as a result of the call to StatusManager.getManager().handle(...) isn't centered to the parent shell using the entire width of the resulting dialog. Instead, it is centered based on the width of the dialog portion minus the status area section. As a comparison, the JFace ErrorDialog is centered correctly to the parent shell using the entire width (error dialog width + status area width).

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/statushandlers/WorkbenchStatusDialogManager.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/statushandlers/StatusDialogManagerTest.java