Community
Participate
Working Groups
This is a corner scenario from fix for bug 578630, which addresses the high-contrast(Black variants) As reported by Masayuki(https://bugs.eclipse.org/bugs/show_bug.cgi?id=578630#c13) when high-contrast(White) is used as seen on Windows11 Desert theme, labels are not visible in Model Spy Form tab dialog: https://bugs.eclipse.org/bugs/attachment.cgi?id=288228
Possible fixes for this issue: 1. Use dark grey(#2f2f2f) back-ground instead of pure black(#000000) as used in fix for bug 578630 which will works in all variants of high-contrast themes, but doesn't looks that good on high-contrast(Black) which is the major use-case. 2. Alternate solution proposed by Masayuki is to use separate .css file for high-contrast Black and White variants. > This solution needs to be evaluated by the Eclipse platform CSS team or find a better solution here.
Workaround for Eclipse 4.23+ and 4.24 version: 1. Open below directory path: <ECLIPSE_ROOT>\eclipse\plugins\org.eclipse.ui.themes_<VERSION>\css Note:- <VERSION> value in above path may vary based on Eclipse build. 2. Open high-contrast.css file and modify the background-color entry: .MPart Composite { background-color: #000000; } 3. Change the color value from pure black(#000000) to any of below: - dark grey(#2f2f2f) which kind of works in all high-contrast themes. - pure white(#ffffff) which works on high-contrast(White theme only) but will break on high-contrast Black.