Mailinglist Archive: opensuse-gnome (58 mails)

< Previous Next >
Re: [opensuse-gnome] GTK File open/save dialogue won't respect theme colours and is rendered wrongly under KDE
  • From: Tero Pesonen <teropesonen@xxxxxxxxxxxx>
  • Date: Tue, 5 Feb 2008 02:52:12 +0200
  • Message-id: <200802050252.12643.teropesonen@xxxxxxxxxxxx>
On Tuesday 05 February 2008, Federico Mena Quintero wrote:
On Thu, 2008-01-31 at 05:50 +0200, Tero Pesonen wrote:
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.

Hmmm, is gnome-settings-daemon running while you use your KDE
session?

I don't think it's necessary to have it running just to get the theme
applied correctly, but better double-check...

Thanks for your reply, Federico. Just this night I had time to again
investigate this. I actually got the issue solved, and this is what I
found.

I simply searched for every single .gtkrc on my system, in order to
check each and every one of them and see what is set and where (the
apps need to check their settings from somewhere!)

There was, of course, one in /etc/gtk-2.0. That file set something very
different to the expected HighContrastInverse. I figured that the
problematic dialogue or some other parts or applications look at this
file instead of what is defined in my home dir. And sure enough,
setting the theme also in the /etc/gtk-2.0/ cured the problem for once
and for all.

The weird thing here was that some parts of the apps respected the
settings at my home dir, while others seemed to look at this file.
Curiously, too, whatever the SUSE-supplied KDE KControl Centre set in
regards to GTK, had no effect on this file (well, it would not have the
permissions either to change it.) All the GTK apps were from 10.3
RPMS's from openSUSE repositories.

My guess is that there is something buggy going on in how openSUSE 10.3
is designed to deal with this KDE/GTK interaction. It did not work out
of the box, nor after tweaking all the possible *gtk* found under my
home dir, but instead started working only after I had set the theme
with root privileges in this system-wide default etc. config file. This
should not have to be: Setting desktop themes is not something you need
superuser for. Nor was this ever an issue on earlier openSUSE versions,
and I definitely did not use root privileges to set themes there.
Whatever KDE with my user rights set, applied for all GTK apps under
KDE without any hiccups on 10.2 and 9.x

But, as said, it now works for me, and I know how to set it. I wonder,
though, if this is something worth of a bug report, or whether
something had got screwed-up on my system during the installation and
the security etc. updates that followed it? I mean, surely others, too,
would have complained if this was the normal state for 10.3? And since
no one has, (I couldn't find, at least) it seems there was something
weird going on at my end.

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

< Previous Next >