Community
Participate
Working Groups
I added a ToolControl in a Toolbar of the top window trim like this: <trimBars xmi:id="_uPMeMLkVEeSwHehsjuW-dw" elementId="de.codecentric.eclipse.tutorial.app.trimbar.0"> <children xsi:type="menu:ToolBar" xmi:id="_1n-poLkVEeSwHehsjuW-dw" elementId="de.codecentric.eclipse.tutorial.app.toolbar.1"> <children xsi:type="menu:ToolControl" xmi:id="_7-GeMLkVEeSwHehsjuW-dw" elementId="de.codecentric.eclipse.tutorial.app.toolcontrol.0" contributionURI="bundleclass://de.codecentric.eclipse.tutorial.app/de.codecentric.eclipse.tutorial.app.control.PerspectiveSwitcher"/> </children> </trimBars> In 4.4. this looked like screenshot 1. With the latest Mars integration prior M7 the buttons are not rendered correctly anymore (screenshot 2).
Created attachment 252861 [details] screenshot1
Created attachment 252862 [details] screenshot2
Dirk, can you please check if bug 466233 and proposed fix https://git.eclipse.org/r/46994 is related & fixes your issue?
(In reply to Andrey Loskutov from comment #3) > Dirk, can you please check if bug 466233 and proposed fix > https://git.eclipse.org/r/46994 is related & fixes your issue? No that ticket and the proposed fix doesn't have any effect on this issue.
I encountered the same problem. It seems to appear only if the ToolControl is the first element in the toolbar. Adding a DirectToolItem or HandledToolItem as first element in the toolbar fixes that issue for me, as of RC2. Using a direct tool item with no handler and a non-breaking space as label, this is almost invisible (but will still show up when hovering over it, of course).
*** Bug 562099 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 471313 ***