You are not logged in.

#1 2014-02-16 16:50:52

Hoot215
Member
Registered: 2014-02-16
Posts: 5

GTK 2 Tooltip Backgrounds Act Weird

I'm not normally one to ask for help on forums, but I can't for the life of me solve this issue.

Basically, certain GTK 2 applications such as Eclipse and Inkscape (but not Firefox, for some reason) don't have the proper elementary tooltips (the theme I'm using) with a black background and white text. They have white text and a light grey gradient background, which is nearly impossible to read on my monitor. Here's a picture of an Inkscape tooltip. I've checked in the theme's gtkrc file and everything seems to be in order. I've even tried overriding the tooltip colour in the ~/.gtkrc-2.0 file, to no avail. I've uploaded that file to pastie.org if anyone wants to look at it. Everything above '# EDIT' was generated by the KDE GTK settings.

I would really appreciate any input on this issue.

Offline

#2 2014-02-16 22:02:17

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: GTK 2 Tooltip Backgrounds Act Weird

Here is what I have for my tooltips colors:

style "ToolTip"
{
  bg[NORMAL] = "#F4E6CE"
  base[NORMAL] = "#FEFDFA"
  text[NORMAL] = "#000000"
  fg[NORMAL] = "#000000"
}

widget "gtk-tooltip" style "ToolTip"
widget "gtk-tooltips" style "ToolTip"

It's not exactly the same as your link shows.

Offline

#3 2014-02-16 22:13:28

Hoot215
Member
Registered: 2014-02-16
Posts: 5

Re: GTK 2 Tooltip Backgrounds Act Weird

berbae wrote:

Here is what I have for my tooltips colors:

style "ToolTip"
{
  bg[NORMAL] = "#F4E6CE"
  base[NORMAL] = "#FEFDFA"
  text[NORMAL] = "#000000"
  fg[NORMAL] = "#000000"
}

widget "gtk-tooltip" style "ToolTip"
widget "gtk-tooltips" style "ToolTip"

It's not exactly the same as your link shows.

I just tried using that, and it seems to have no effect at all.

Offline

#4 2014-02-16 22:47:54

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: GTK 2 Tooltip Backgrounds Act Weird

Yes you are right, I posted too quickly:
my tooltips background doesn't match the color declared in the gtkrc-2.0 file.
Is not this color linked to the gtk2 theme (I use Qtcurve)?
Do you get the same color with another gtk2 theme?

Offline

#5 2014-02-16 23:20:55

Hoot215
Member
Registered: 2014-02-16
Posts: 5

Re: GTK 2 Tooltip Backgrounds Act Weird

berbae wrote:

Yes you are right, I posted too quickly:
my tooltips background doesn't match the color declared in the gtkrc-2.0 file.
Is not this color linked to the gtk2 theme (I use Qtcurve)?
Do you get the same color with another gtk2 theme?

No, it only happens with the elementary theme. Thanks for reminding me of that, though. The QtCurve theme I have set is similar to elementary, so I can use that until I find a proper solution to this problem.

Here's the elementary theme's gtkrc file, for anyone who's interested.

Offline

#6 2014-02-27 01:34:59

Hoot215
Member
Registered: 2014-02-16
Posts: 5

Re: GTK 2 Tooltip Backgrounds Act Weird

Bump.

Offline

#7 2014-02-27 02:18:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: GTK 2 Tooltip Backgrounds Act Weird


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2015-01-30 04:31:12

maz-1
Member
Registered: 2015-01-30
Posts: 6

Re: GTK 2 Tooltip Backgrounds Act Weird

Hello,I am having the same issue with gtk tooltip,and I find a solution that may be helpful.
You have to uncheck "systemsettings->applications appearance->colors->options>Apply colors to non-kde4 applications".
See https://bugs.kde.org/show_bug.cgi?id=295486

Offline

Board footer

Powered by FluxBB