Summary: | visibleWhen has no effect for MenuManager added in AbstractContributionFactory | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Ben Steffensmeier <Benjamin.P.Steffensmeier> | ||||
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||
Status: | REOPENED --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | Lars.Vogel, rwa5908 | ||||
Version: | 4.5.1 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
See Also: | https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/169595 | ||||||
Whiteboard: | stalebug | ||||||
Attachments: |
|
Description
Ben Steffensmeier
2015-12-10 14:19:23 EST
Created attachment 258591 [details]
Simple plugin which illustrates the issue
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. This is still an issue and our previous workaround is no longer working. In the 4.16 version of MenuManagerRender.subscribeUIEleemntTopicVisibility() at line 206, perhaps the check should be whether obj is an instanceof IContributionItem instead of just ContributionItem. This is breaking our application and we would like to see this bug reopened and addressed. Ron, could you provide a Gerrit? (In reply to Lars Vogel from comment #4) > Ron, could you provide a Gerrit? I cannot. The suggestion I previously mentioned will not resolve the issue as MenuManagerRender.subscribeUIEleemntTopicVisibility() is not even being called to update the visibility of our menus so the change to the instanceof check would not help. New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/169595 |