Community
Participate
Working Groups
When running WinXP with the classic theme (or at least with the classic style used for buttons), some toolbars render incorrectly while other toolbars are unaffected by changing themes. In some cases, the rendering is just visually different than other toolbars, while in other cases there is also an issue with buttons being rendered with overly-large dimensions. This can be seen by setting WinXP's theme to classic and using any of these editors (there could be others): - JSF Tools Project's Faces Config Editor - JSF Tools Project's Web Page Editor - Plug-In Manifest Editor - GEF examples "Logic Diagram" editor
Please attach some screenshots to this bug.
Created attachment 208197 [details] JSF Tools Faces Config Editor toolbar
Created attachment 208198 [details] JSF Tools Project Web Page Editor toolbar
Created attachment 208199 [details] Plug-In Manifest Editor toolbar
Created attachment 208200 [details] GEF examples "Logic Diagram" toolbar
Bogdan, is this late added CoolItem/ToolBars not having their CSS set? I thought we got an SWT.Skin event for that? PW
Is there any update available for this issue? This issue will be readily seen in at least one adopter product - some customer shops disable Windows themes or run with the classic theme to get a slight performance boost (so it's claimed). Thanks, - Ian
I also see this problem when using the 'Windows Classic' theme on Windows 7.
I've reproduced this and am looking into it.
Bogdan tells me the tool bars are not created with SWT.FLAT.
On the default "Windows 7 Basic" desktop theme, ToolItems with the FLAT bit set look the same as those with no FLAT bit. Under the "Windows Classic" theme there is an obvious difference. Looking at the GEF toolbar that gets constructed with Spy, there is no FLAT bit set. Trying the same scenario under 3.x, we are actually using CoolBars with the FLAT bit set.
Fix pushed to master. http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=f5bc5901f27314ef872ee7b25bb10bb5d8b61e18 Thank you Ian for reporting the bug and Bogdan for assisting with the investigation.
Thanks to all for taking the time to find a solution.
Verified with I20120123-2200 on Windows 7 that the GEF example editors are okay. Ian, please let us know if you see this problem again.
Thanks, I appreciate the work done on this. FWIW, I also just verified that the JSF Tools project editor toolbar contributions are now looking good. - Ian