Project: Eclipse_Platform_UI
Bug 362932 MenuManager of a view menu must not be disposed when the menu goes hidden
Reported: 2011-11-04 14:16:48 | Status: verified fixed

We have code that disposes the menu manager of a part's view menu when the menu goes hidden. This means all contribution items of that manager will be disposed as well. Some contribution items are written in such a way that after a dispose() they become useless. We should not dispose the menu manager of a part's menu.

Files changed in fix:
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityView.java