Project: SWT
Bug 279042 Cocoa: top-level menus not updated as you switch between editors
Reported: 2009-06-03 19:04:17 | Status: resolved fixed

I installed the Eclipse MDT Galileo RC2 build for MacOSX (cocoa). The Eclipse toolbar does not switch when I switch between editors. For example, if I edit a plugin.xml file and switch to a *.uml file, the toolbar should update and show me the "UML Editor" menu. This doesn't happen! To force a toolbar refresh, I found that I can invoke the Eclipse Preferences dialog (apple-comma), cancel it (escape) and then the toolbar will be properly updated. With a workspace eclipse and a runtime eclipse, this is even worse because there is only one toolbar for both on the mac. In that case, switching between the workspace & the runtime does not refresh the toolbar either.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Menu.java