Lately I tried changing the colour theme of my Eclipse Luna to dark. Then I decided to revert back to the default GTK theme. But after I have done so, the title on the active edit window is missing (or are the same colour as that of it's background, I'm not sure). I tried editing the colours from the Preferences but as soon as I close the Preferences window, the title goes missing again.
Here are some screen shots to help you get a better picture of what is happening.
This gets especially annoying since I can't see whether the current file has been saved or not until I switch to a different tab.
I tried the obvious restart procedures with no effect, in case you are wondering.
Note: I am working on Ubuntu 14.04 GNOME 3.8.4.
I tried changing the colour of every element in the list provided both from the eclipse directory via a text editor as well as the eclipse UI but the most I could achieve was change the background colour of the title, but not the text colour itself. Which exact key contains the value for the active title text colour?
Finally, the thing is, when I tried changing the colour of each field, if it did not work I reset the changes then and there. But weirdly enough, when I hit the reset button, eclipse somehow changes the foreground colour to white. I don't know why or how. But I have finally fixed this.
For those of you facing the same problem. Just go to Window -> Preferences -> General -> Appearance -> Colors and Fonts -> Click on Active part foreground -> Manually set it to whatever colour you want. -> Hit apply.(Do not try resetting. Doesn't work)
On later inspection I have found out that this has been caused due to me changing the GNOME Theme to Dark causing the title to be somehow automatically changed to white to accommodate for a dark background; however that is not the case here(well, GNOME was expecting it I think).