| Summary: | [Commands] Dropdown menu in toolbar is rendered but submenu is not shown | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Stefan Wiese <wiesestefan> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | CLOSED DUPLICATE | QA Contact: | Paul Webster <pwebster> |
| Severity: | major | ||
| Priority: | P3 | CC: | pwebster, remy.suen |
| Version: | 4.1 | ||
| Target Milestone: | 4.2 M5 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
The tool item's menu never gets rendered so it has no widget. (In reply to comment #1) > The tool item's menu never gets rendered so it has no widget. >>Hmm, what does that mean? Is it due to a misconfiguration or is it a bug? Is there a workaround possible? (In reply to comment #2) > >>Hmm, what does that mean? Is it due to a misconfiguration or is it a bug? It is an actual bug. > Is there a workaround possible? I think if you force the rendering engine to create the widget for the menu it may work. Aggregate move to M5. Retarget to a different milestone if you wish... *** This bug has been marked as a duplicate of bug 367159 *** |
Build Identifier: I20110620-1631 When contributing a menu to a HandledToolItem in order to create a dropdown menu in the main toolbar a dropdown is rendered but no submenu items are shown. The contribution is made the declarative way. Reproducible: Always Steps to Reproduce: The behaviour can be reproduced with the following fragment snippet: <fragments xsi:type="fragment:StringModelFragment" xmi:id="_U3cDULOhEeCjau1PwZK1gw" featurename="children" parentElementId="toolbar:org.eclipse.ui.main.toolbar"> <!- ... --> <elements xsi:type="menu:HandledToolItem" elementId="de.wiese24.billingE4.merchants.toolitem.sendquestionnaire" label="Fragebogen" iconURI="platform:/plugin/de.wiese24.billingE4.merchants/src/images/sent_questionnaire16x16.png" tooltip="Fragebogen versenden" enabled="false" command="_JDgQ8NMLEeC5q_H-NgTNZA"/> </fragments> <fragments xsi:type="fragment:StringModelFragment" featurename="menu" parentElementId="de.wiese24.billingE4.merchants.toolitem.sendquestionnaire"> <elements xsi:type="menu:Menu" elementId="de.wiese24.billingE4.merchantmenu.dropdown" label="nochnmenu"> <children xsi:type="menu:HandledMenuItem" elementId="submenu2" label="sub2" command="_X1UBMM2hEeCK3u-rhHrqXQ"/> <children xsi:type="menu:HandledMenuItem" elementId="submenu1" label="sub1" command="_aNzXoM_HEeCnKcaTRmmBRg"/> </elements> </fragments>