| Summary: | Setting Toolbar menucontribution to visible false makes menu disappear | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Thomas Kratz <eiswind> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | remy.suen |
| Version: | 4.1 | ||
| Target Milestone: | 4.1.1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Is this the same problem reported in bug 333792 ? PW Thomas, I cannot seem to reproduce the problem but maybe I am doing something wrong. Is this still a bug on your side? Hi Remy, unfortunately I cannot reproduce this anymore. No trouble on my side as far as I can see. (In reply to comment #3) > Hi Remy, unfortunately I cannot reproduce this anymore. > No trouble on my side as far as I can see. Thank you for letting us know, Thomas. Please do not hesitate to reopen the bug or open a new one if you see the problem again. |
Build Identifier: e4M4a I set the visiblity if a toolbar item based on a variable, that evaluates currently to false. The toolbar item is still shown, but the main menu is gone. Reproducible: Always Steps to Reproduce: this is my menu contribution that should hide the toolbar item <menuContribution allPopups="false" locationURI="toolbar:de.eiswind.mango.toolbar.main?after=additions"> <command commandId="de.eiswind.mango.client.onix.ftp.command" icon="icons/ftp.gif" label="Onix FTP Transfer" style="push" tooltip="Onix FTP Transfer"> <visibleWhen checkEnabled="false"> <with variable="de.eiswind.mango.client.onix.ftp.cansee"> <equals value="true"> </equals> </with> </visibleWhen> </command> </menuContribution>