Bug 558281 - MenuManagerRenderer should recursively clean menus
Summary: MenuManagerRenderer should recursively clean menus
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.13   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-12 15:55 EST by Rolf Theunissen CLA
Modified: 2019-12-12 15:55 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Theunissen CLA 2019-12-12 15:55:02 EST
When menus are added MenuManagerRenderer recursively connects MMenus to MenuManagers, however when menus are removed it seams that only the toplevel connection is removed.

Notes:
- There is a WorkbenchWindow#cleanupMenuManagerRec does recursive cleanup
- MenuManagerRenderer#unlinkMenu does recursive cleanup (only called for popups)
- MenuManagerRenderer#cleanUp does recursive cleanup of contribution records