| Summary: | Disabled button text not visible in dark theme on Mac | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Lakshmi P Shanmugam <lshanmug> |
| Component: | UI | Assignee: | Till Brychcy <register.eclipse> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, Lars.Vogel, lshanmug, register.eclipse |
| Version: | 4.11 | ||
| Target Milestone: | 4.11 RC1 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| See Also: |
https://git.eclipse.org/r/137246 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=94519cab94d972759c797b69d211b623fc8d7808 https://git.eclipse.org/r/137312 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=84d789c50355ce6e14c04da6bb9b68de1f808279 https://git.eclipse.org/r/137337 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=6d90c60abee2b10c79a55d404cb75d876e0c5e01 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 544854 | ||
|
Description
Lakshmi P Shanmugam
New Gerrit change created: https://git.eclipse.org/r/137246 Gerrit change https://git.eclipse.org/r/137246 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=94519cab94d972759c797b69d211b623fc8d7808 With this change, the buttons in the git staging view have a black foreground color. (In reply to Till Brychcy from comment #3) > With this change, the buttons in the git staging view have a black > foreground color. So, should this be reopened? Reopening Thanks Till, I can see the problem, investigating... I looked at this, the buttons in Eclipse are not affected. Only the text color of enabled buttons in Git Staging view are affected. They are flat style buttons, so the background color is different. May be the foreground color is explicitly set in EGit and has to be fixed there. Or we may have to set the foreground color explicitly in the e4 css style sheets. @Till, what do you suggest? (In reply to Lakshmi Shanmugam from comment #7) > I looked at this, the buttons in Eclipse are not affected. Only the text > color of enabled buttons in Git Staging view are affected. They are flat > style buttons, so the background color is different. May be the foreground > color is explicitly set in EGit and has to be fixed there. > Or we may have to set the foreground color explicitly in the e4 css style > sheets. > > @Till, what do you suggest? Ok, after debugging I found that it affects all the buttons in Forms. So, the Manifest editor in Eclipse is affected too. I'll revert this change for M3 as it affects the Buttons in Forms. Will work on a fix for RC1. New Gerrit change created: https://git.eclipse.org/r/137312 Gerrit change https://git.eclipse.org/r/137312 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=84d789c50355ce6e14c04da6bb9b68de1f808279 New Gerrit change created: https://git.eclipse.org/r/137337 (In reply to Eclipse Genie from comment #12) > New Gerrit change created: https://git.eclipse.org/r/137337 null was explicitly disallowed by the css handler that sets the foreground color. (In reply to Till Brychcy from comment #13) > (In reply to Eclipse Genie from comment #12) > > New Gerrit change created: https://git.eclipse.org/r/137337 > > null was explicitly disallowed by the css handler that sets the foreground > color. Thanks for finding the problem and fix, Till! I tested the patch and it fixes the problem with disabled buttons and text color of Form buttons look good too. +1 from project lead Gerrit change https://git.eclipse.org/r/137337 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=6d90c60abee2b10c79a55d404cb75d876e0c5e01 (In reply to Eclipse Genie from comment #16) > Gerrit change https://git.eclipse.org/r/137337 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/ > ?id=6d90c60abee2b10c79a55d404cb75d876e0c5e01 Released for 4.11RC1 Verified in I20190226-1800. |