eclipse-platform / eclipse.platform.ui

Eclipse Platform
https://projects.eclipse.org/projects/eclipse.platform
Eclipse Public License 2.0
81 stars 188 forks source link

[Eclipse 4.28.0] [Bug bounty US$50.00] Dark theme: inactive dialog buttons are indistinguishable from active ones #1123

Open Ferdinand-Heinrich opened 1 year ago

Ferdinand-Heinrich commented 1 year ago

When using the dark theme, in dialogs, inactive buttons are nearly indistinguishable from active buttons. As can be seen below in the example, the "< Back" and "Next >" buttons have almost the same styling like the "Cancel" button. (I've added a screenshot of the same dialog while using the light theme for comparison.) This impairs usability of the dark theme considerably, in my eyes.

Dark theme example dialog Light theme example dialog

I use Fedora 38, Gnome 44 with light Adwaita theme (the default), all running within Qubes OS 4.1.

Ferdinand-Heinrich commented 7 months ago

I am adding a bug bounty of US$ 50.00 for this issue.

If you, dear reader, should have fixed this issue and when the fix is available in the latest release of Eclipse, please leave a comment here with your email address or payment info. If it works on my system (inactive buttons must be clearly distinguishable from active ones), I will contact you or send the payment right away, if payment info has been provided.

Ambeyijounior commented 3 months ago

Just modify the css if it doesn't work. Go to the eclipse directory and find css file then modify it to your preferences . ambeyimubarak@gmail.com

Ferdinand-Heinrich commented 3 months ago

Edit: I figured that the CSS files to modify are (at least on my installation) located at ~/.p2/pool/plugins/org.eclipse.ui.themes_1.2.2400.v20240213-1133/css/dark/.

However, I can't figure out what to edit (or add) in order to style the buttons. Further help is appreciated.