Project: Eclipse_Platform_UI
Bug 400042 Help of Shell is overriden by Eclipse when Workbench starts
Reported: 2013-02-05 20:46:01 | Status: verified fixed

Our product (IBM Installation Manager) has one perspective with a stand-alone view. In the ViewPart.setFocus(), we set the help id by using: public void setFocus() { PlatformUI.getWorkbench().getHelpSystem().setHelp(this.getSite().getShell(), getHelpRef()); //.... } But ViewPart.setFocus() is called in 'page.setPerspective(perspective)' in WorkbenchWindow.setup(): public void setup() { //... page.setPerspective(perspective); //... workbench.getHelpSystem().setHelp(getShell(), IWorkbenchHelpContextIds.WORKBENCH_WINDOW); //... } And later one, the help id for our product shell was overriden by workbench.getHelpSystem().setHelp(getShell(), IWorkbenchHelpContextIds.WORKBENCH_WINDOW); as you can see from WorkbenchWindow.setup(). This is a regression from Eclipse 4.2.1 adoption.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java