Community
Participate
Working Groups
Build Identifier: Eclipse Platform Version: 3.7.0 Build id: I20110603-0909 The disabled/unavailable tree item labels on the Tool Bar Visibility and Menu Visibility tabs in the Customize Perspective dialog are not visible given the color scheme uses gray background for input components, instead of the common default of white. Reproducible: Always Steps to Reproduce: 1. Set a Windows Classic theme with a gray (red: 192, green: 192, blue: 192) Window background color; 2. Start Eclipse and open Window -> Customize Perspective dialog; 3. Observe the disabled/unavailable tree items on the Tool Bar Visibility tab.
Created attachment 197360 [details] Screenshot demonstrating the problem
I guess the color used should not be fixed like that, but should be the one configured for disabled items.
Stanimir, if you still care - can you please check with Eclipse 4.5 M5? I do not have access to Windows, on Linux it looks OK.
Created attachment 250614 [details] Screenshot with fix (In reply to Andrey Loskutov from comment #3) > Stanimir, if you still care - can you please check with Eclipse 4.5 M5? I do > not have access to Windows, on Linux it looks OK. I can still see the issue with 4.5 M5 on Windows Classic theme and Gray Window background color. We can use SWT.COLOR_WIDGET_NORMAL_SHADOW instead of SWT.COLOR_GRAY, which is also used in many other implementations of IColorProvider#getForeground to show disabled/deleted items' text. Proposed fix: https://git.eclipse.org/r/#/c/41411/ Attached screenshots of CPD on Windows 7 and Windows Classic (with Gray background) themes with the fix. Andrey, please check if it still looks OK on Linux with the fix.
New Gerrit change created: https://git.eclipse.org/r/41411
Created attachment 250692 [details] Colors on Fedora GTK2/KDE (OK) (In reply to Noopur Gupta from comment #4) > Proposed fix: https://git.eclipse.org/r/#/c/41411/ > Andrey, please check if it still looks OK on Linux with the fix. "Linux" is a very broad definition, additionally it heavily depends on a GTK theme. On my Fedora 21 box, under GTK2/KDE and QtCurve theme it looks fine (as before), see screenshot.
Gerrit change https://git.eclipse.org/r/41411 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=f71f5cf8c055840273a521aef0d3ea3ea333196e
.
New Gerrit change created: https://git.eclipse.org/r/45844
Gerrit change https://git.eclipse.org/r/45844 was merged to [R4_4_maintenance]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=c66798772756e5fd50c706b6ee8618418f7fa3c6