Community
Participate
Working Groups
Build Identifier: see, for example: https://bugs.launchpad.net/ubuntu/+source/light-themes/+bug/540332 That issue is still a very boring one because there is no configuration option in Eclipse to change tooltip colors. Reproducible: Always
+1 Gnome 3.6 was released just now, the default tooltip background color is dark. Especially links that are blue by default are impossible to read against the dark background. The default tooltip background color for eclipse should be white since some elements that are rendered inside the tooltip assume that it is and are unreadable otherwise.
We use the OS settings. There are no plans to provide an option to override those. Most OSes offer to change the color. If your OS doesn't do this, then please request the feature there.
Why is this a "wont fix" you can override the background color of the javadoc view, but not the font color?? I can hardly read the text, and I /don't/ want to change the tooltip text for the entire system.
This is probably the most frequent dialog inside editor along content assist and it doesn't have bg/fg colour controls. This is a serious UX issue that is bothering majority of people out of the box on Linux side. Saying that OS should control tooltip windows (again most used thing in IDE) but at the same time provide colour controls inside IDE for everything else is really bad. People are wasting time https://www.eclipse.org/forums/index.php/t/1069038/ Lars Vogel covered this at http://blog.vogella.com/2012/12/04/eclipse-papercut-10-eclipse-on-ubuntu-fixing-the-black-background-color-in-hover/ Stack overflow has many variations of this like this one http://stackoverflow.com/questions/5380991/eclipse-hover-background-color-property-where 20K views Circus continues with migration between GTK2 and GTK3 as old fixes stopped working http://stackoverflow.com/questions/35082507/eclipse-mars-on-linux-black-background-color-in-tooltips Can someone please elaborate on what components need to be changed for this and unfreeze this ticket?
Dusan, you are making good points. I think we should allow to configure the background color via CSS, as we do for the rest of the IDE. I reopen the ticket for this purpose. Patches are welcome.
Added a few interested parties from Bug 500196.
Created attachment 264312 [details] Screenshot
Created attachment 264313 [details] Content Assists
As far as the ToolTip widget is concerned on GTK: the background is set at creation to SWT.COLOR_INFO_BACKGROUND. AFAICT there is no background API for ToolTips since it's a child of Widget, not Control. This makes sense to me as SWT tooltips should look consistent depending on the OS colors. (In reply to Em Recio from comment #3) > Why is this a "wont fix" you can override the background color of the > javadoc view, but not the font color?? I can hardly read the text, and I > /don't/ want to change the tooltip text for the entire system. The Javadocs view is *not* an SWT ToolTip. It is a Browser with restricted size and displays HTML content. At best it could be considered a "popup", but in reality it's a fully fledged widget that has been made to look like a ToolTip. Browsers have configurable background colors, ToolTips do not. As for the Javadocs view/popup/hover, there are plans to allow for full background/foreground color configuration (see bug 5001960). However that discussion doesn't have anything to do with this bug, IMO.
(In reply to comment #6) > Added a few interested parties from Bug 500196. Thank you for adding me to this relevant bug. I'm in the process of fixing javadoc in Bug 500196. Should look nice after fix: White: https://bugs.eclipse.org/bugs/attachment.cgi?id=264152 Black: https://bugs.eclipse.org/bugs/attachment.cgi?id=264151 But there are indeed elements of Eclipse that will still look a bit broken even with Javadoc fix. Ex heap status.
It is odd that this should pop up because i just came across this again with another eclipse based app from IBM. This is a major fail from the swt toolkit.
(In reply to comment #11) > It is odd that this should pop up because i just came across this again with > another eclipse based app from IBM. This is a major fail from the swt toolkit. Yea, unfortunately active Gtk3.0+ development broke a lot of stuff at a quick paste and fixing things took quite a while. But contributions are always welcome =). I'll aim to backport the Javadoc changes once all the patches were merged into master and verified to work well, hopefully that should make the UI more readable. Also, I've introduced a colorFactory in Bug 501742, which could be re-used for a bunch of black/white color related issues, which should hopefully make UI look nicer.
This one has been fixed in the meantime
(In reply to Lars Vogel from comment #13) > This one has been fixed in the meantime Do you happen to know what the css properties for the tooltip background color are? Or which bug fixed this?
(In reply to Andrew Obuchowicz from comment #14) > (In reply to Lars Vogel from comment #13) > > This one has been fixed in the meantime > > Do you happen to know what the css properties for the tooltip background > color are? Or which bug fixed this? IIRC these popups were using hard-coded colors and after these have been removed the normal shell customization via CSS was used.
(In reply to Lars Vogel from comment #15) > (In reply to Andrew Obuchowicz from comment #14) > > (In reply to Lars Vogel from comment #13) > > > This one has been fixed in the meantime > > > > Do you happen to know what the css properties for the tooltip background > > color are? Or which bug fixed this? > > IIRC these popups were using hard-coded colors and after these have been > removed the normal shell customization via CSS was used. OK that makes sense with the behavior I've seen in my custom theme. Thanks.