| Summary: | [Contributions] [Compatibility] Dynamic menu displays only first item when extending ContributionItem rather than CompoundContributionItem | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Ben Roling <rollsisu> | ||||||
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Daniel Rolka <daniel.rolka> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | pwebster, remy.suen | ||||||
| Version: | 4.1 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ben Roling
Created attachment 201105 [details]
plugin.xml snippet providing menu contribution
Created attachment 201106 [details]
DynamicMenu java class providing the dynamic menu contribution
Another workaround is to always return 'true' for isDirty(). (In reply to comment #3) > Another workaround is to always return 'true' for isDirty(). Yep, that's true - thanks. This problem is caused by us calling update(*) twice on MenuManagers. The isDirty() optimization causes dynamic contribution items to not get rendered properly. It seems to be the same issue as reported with the Bug 392876 Daniel *** This bug has been marked as a duplicate of bug 392876 *** |