Community
Participate
Working Groups
I20030129, eclipse linux-gtk, java version "1.4.1_01" After doing a search, the currently selected line in the search view is displaying black text on a dark blue background. It is completely unreadable. I have to select a different line to read it, and then come re-select it.
Does this only happen in the search view ? We don't do anything special regarding selection color.
Afaik, this only happens in the search view. In all others cases on my box, when there's a blue background, the text is white, but in search view, it's black.
OK, then this might be caused by in-exact matches. Will investigate.
I could reproduce the bug and it is caused by the fact that the match is an in-exact match. The color used to render in-exact matches can be controlled by Preferences->Workbench->Search. The general issue is: GTK only "reverese" the foreground color of a selected item in a table if the foreground color is the default color. Otherwise the item is rendered with the set foreground color even if the item is selected. This Bahaviour differs from Windows and Motif. Moving the SWT for commenting if there is something search can do to control this.
SSQ and Chrix to see if we are doing something or if it is platform behavior.
If you specify a foreground colour for a text cell renderer in GTK+, that colour is used regardless of the theme preferences. Otherwise, the theme will select the foreground colour based on the theme colour for that state (selected vs not selected). I filed this bug in the GTK+ bug tracker: http://bugzilla.gnome.org/show_bug.cgi?id=154615
Note that this bug is fixed upstream for GTK+ version 2.6.
It seems to work nicely when running in eclipse under 2.6 as well. Maybe we should consider disabling setting the colours under previous versions of GTK+?
Apparently the bug has been fixed years ago. Marking as fixed.