How to fix black tooltips in Eclipse?

I am having a weird problem with Eclipse documentation tooltips. When I startup Eclipse the tooltip works as expected:

enter image description here

But after I press the down button the tooltip turns black:

enter image description here

and stays like that for the rest of the session.

I am using Eclipse Galileo and Ubuntu 11.04 with the classic desktop.

EDIT: I am only experiencing this problem in PHP Development Tools. The tooltips work in Java and Python projects.


Solution 1:

The answer from Arkaduysz's works if you correct the second line. the gksu would try to change root's settings I think.:

Install:

sudo apt-get install gnome-color-chooser 

run it:

gnome-color-chooser 

Go to "Specific" tab, check and setup background/foreground colors in tooltip box. Apply & Close.

To fix the color issue in the eclipse package explorer (white font on light grey back), choose "global" tab, and check standard > inputfield > selected and set it to black.

Solution 2:

To fix this annoying behaviour in KDE, the fix is similar:

  • run System Settings
  • Click on Application Appearance in Common Appearance and Behaviour
  • Click on Colours icon and then on Colours tab
  • Find Tooltip Background and choose a bright color, for instance pale yellow or white
  • Find Tooltip Text below and choose a darker color, like blue or black
  • Click Apply

The fix will be available immediately, no need to restart Eclipse.

Note: On Eclipse mars the change was not immediate. I had to restart eclipse.

Solution 3:

Install:

sudo apt-get install gnome-color-chooser 

run it:

gnome-color-chooser 

Go to "Specific" tab, check and setup background/foreground colors in tooltip box. Apply & Close.