Community
Participate
Working Groups
While trying to understand the fix for bug 389335, I noticed that MenuManager.update(boolean, boolean) is being called twice for menus with dynamic items in them. MenuManagerRendererFilter.showMenu(Event, Menu, MMenu, MenuManager) calls the MenuManager.handleAboutToShow() method which calls MenuManager.update(false, false). Then the very last line of MenuManagerRefndererFilter.showMenu calls MenuManager.update(false) thus calling that method twice. The ShowViewMenu class was modified to fix a leak in bug 389335. With this bug, ShowViewMenu.Fill(Menu, index) gets called twice so the MenuManager gets created twice.
Sorry, my target workspace is outdated. This problem was fixed with the changes Paul made for bug 375826. Once I imported some of the projects into my workspace and had the latest 4.2.2 code, the problem went away :) *** This bug has been marked as a duplicate of bug 375826 ***