| Summary: | [Contributions] [Dialogs] Customize Perspective dialog - disabled/unavailable tree item labels not visible | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Stanimir Stamenkov <stanio> | ||||||||
| Component: | UI | Assignee: | Noopur Gupta <noopur_gupta> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | daniel_megert, loskutov, noopur_gupta | ||||||||
| Version: | 3.7 | ||||||||||
| Target Milestone: | 4.5 M6 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| See Also: |
https://git.eclipse.org/r/41411 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=f71f5cf8c055840273a521aef0d3ea3ea333196e https://git.eclipse.org/r/45844 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=c66798772756e5fd50c706b6ee8618418f7fa3c6 |
||||||||||
| Whiteboard: | |||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 420956 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Stanimir Stamenkov
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 |