Bug 150133

Summary: Changes to GTK-qt in kontrol panel no effect
Product: [openSUSE] SUSE Linux 10.1 Reporter: Deni Jelicic <hrvat30>
Component: KDEAssignee: Stephan Binner <stbinner>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P2 - High    
Version: unspecified   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot with no theme
With clearlooks theme

Description Deni Jelicic 2006-02-11 00:17:49 UTC
Hi, 
I have updated to opensuse 10.1. I am using KDE as the desktop manager. 
I have install gtk-qt engine and it is located in kontrol panel under apperance & themes. 

When I change the GTK style to use my KDE style in GTK applications or any other style the application look exactly the same. In my testing I used Inkscape. 

There are couple of odd things that are happening I did some more tests so that I can help you in fix this bug.

When I type the command inkscape in konsole inkscape theme has changed and it looks much better than before. I close inkscape and console and try to run it again from kmenu -> Graphics -> Vector Drawing. There are no changes to Inkscape it still looks bad. So I thought there must be another file that is controling the look so I used the search for .gtkrc-2.0 and found that it is in my home directory as well as in .kde/share/config. 

Then I deleted the file in the .kde directory and created a link using the following command ln $HOME/.gtkrc-2.0 $HOME/.kde/share/config/gtkrc-2.0.

Then run inkscape again from kmenu and it looks very nice now.

Thanks for great work on opensuse

deni
Comment 1 Vance Baarda 2006-02-11 00:22:23 UTC
The openSUSE product in Bugzilla is only for problems with the openSUSE wiki or with Bugzilla itself. Please reassign to correct product/component.
Comment 2 Stephan Binner 2006-03-01 11:10:12 UTC
Check if there was a "export GTK2_RC_FILES=$HOME/.gtkrc-2.0" line inserted into your .bashrc (a fixed gtk-qt-engine package which added that with every "Apply" was submitted) and delete it. 
And please delete the link you created before doing further testing. 
Please give the content of GTK2_RC_FILES variable if you still experience problems.
Comment 3 Deni Jelicic 2006-03-10 14:21:41 UTC
Created attachment 72274 [details]
Screenshot with no theme
Comment 4 Deni Jelicic 2006-03-10 14:24:02 UTC
Created attachment 72275 [details]
With clearlooks theme
Comment 5 Deni Jelicic 2006-03-10 14:27:19 UTC
Hi Stephan,

I have deleted the links that I did before, I have also deleted .kde folder and all .gtkrc files in my home folder and removed the old copy of gtk-qt-engine and installed the new one. And also rebooted computer just in any case. 

Unfortunately there is no effect now even when running inkscape from console the same result.

Also I forgot to mention when I was doing those links when I log off and log back in the symoblic link to gtkrc-2.0 gets replaced by original file.

When I type export in the konsole this is the relevant output 

declare -x GTK2_RC_FILES="/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/themes//Qt/gtk-2.0/gtkrc:/home/deni/.gtkrc-2.0-qtengine:/home/deni/.kde/share/config/gtkrc-2.0"
declare -x GTK_PATH="/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0"
declare -x GTK_RC_FILES="/etc/opt/gnome/gtk/gtkrc:/home/deni/.gtkrc:/home/deni/.kde/share/config/gtkrc"

The file .bashrc does not mention anywhere gtk.

So again I copied the .gtkrc-2.0 to /home/deni/.kde/share/config/gtkrc-2.0
then ran inkscape from konsole and from menu and the theme is changed.

The theme in screenshot2 is clearlooks-quicksilver from clearlooks.sourceforge.net. I tried the other themes and they don't seem to have much effect. However as I mentioned before as soon as I log back in again it restores the original file that I replaced.

Maybe I should wait and reinstall opensuse 10.1 when beta 8 comes out. 

Thanks
 
 
Comment 6 Deni Jelicic 2006-04-09 02:42:55 UTC
I have done a clean install of OpenSuse 10.1 beta 9 and still there is no effect on me changing the style. Changing the font in gtk styles and fonts does actually change the font in GTK applications. 

Thanks 
Comment 7 Matthias Fruehauf 2006-05-04 08:04:28 UTC
Stephan, any idea?
Comment 8 Stephan Kulow 2007-05-07 10:01:49 UTC
Stephan, is this still a problem? Afaik we reused the kcontrol code
Comment 9 Stephan Binner 2007-05-07 14:47:36 UTC
Tried with 10.2 (kcm_gtk) and inkscape follows Gtk+ style changes when both started from console and menu.