Mailinglist Archive: opensuse-gnome (88 mails)

< Previous Next >
[opensuse-gnome] GTK File open/save dialogue won't respect theme colours and is rendered wrongly under KDE
  • From: Tero Pesonen <teropesonen@xxxxxxxxxxxx>
  • Date: Thu, 31 Jan 2008 05:50:51 +0200
  • Message-id: <200801310550.51504.teropesonen@xxxxxxxxxxxx>
Hi!

I'm posting this to the Gnome list as I had no luck on the main
opensuse list with this topic. Maybe some one here has a though to
share on the problem.

The problem is on openSUSE 10.3 while running KDE.

Previously, on 9.3 and 10.2, I had always used the GTK theme
HighContrastInverse for GTK apps. I had set it in the KDE control
centre, and had never had any trouble with that. All was fine.

Now, on a relatively fresh 10.3 installation, that setting (in GTK
Styles component in KControl) no longer works. It sets exactly nothing,
or at least the applications do not react to this setting. They simply
launch with some default, whitish theme.

I decided that the thing is faulty, and won't work. So I uninstalled the
kcm-gtk-etc. rpm, which removed this menu entry. OK. Then I installed
an app called gtk-chtheme (from Packman), that allows one to choose the
GTK theme under KDE. It worked.

But now there is a problem: The apps are rendered otherwise correctly,
except that the GTK apps' Open/Save dialogue will not respect the
HighContrastInverse theme-set colours. It's background is rendered with
the right colour, but the file list has the default theme's whitish
background, causing white text to be drawn on top of a very white
background. The same applies to the other list on the left, the one that
has "File System" and "Desktop" etc. links. The buttons and other
widgets have the right colours on the dialogue.

I've tried editing /usr/share/themes/HighContrastInverse/.../gtkrc, but
nothing there affects the dialogue in any way (other parts of
GTK applications do react as expected). The said dialogue simply ignores
the colours on those two widgets.

I also tried an older version of theme, whose colours I had manually
edited and used on 10.2. It made no difference what so ever.

I then tried other themes, too, even QT-GTK-something-Curve or something
like that which was supposed to duplicate KDE colours on GTK. Well, it
did. Except that the dialogue still had that same whitish background. It
simply ignores anything any theme sets.

I tried running Gnome, and there the HighContrastInverse (and others)
show perfectly well. The said dialogue, too, is rendered correctly,
and exactly like it was under KDE on 9.3 and 10.2 (except with my own
version of the theme)

I don't know what to do any more, or what to try. I even removed pretty
much anything KFind found under my home directory tree with gtkrc in it
(I searched for *gtkrc*), in order to rid KDE of any colour
settings anywhere that the dialogue might inherit or something like
that, but to no avail.

I installed a clean 10.3, and did not upgrade over an older version or
anything. So this should have worked out-of-the-box.

Might any one know any reason this dialogue behaves the way it does?
How could I investigate further?

Here's a screenshot of the dialogue under KDE:
https://secure.storegate.com/user/share.aspx?id=61d213fe-3c13-427b-8669-
6b098b9ef8dd

Thanks for all ideas!

And regards,
Tero Pesonen

--
To unsubscribe, e-mail: opensuse-gnome+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-gnome+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages