Bug 214280

Summary: Ugliness of GTK applications in non-GNOME installations
Product: [openSUSE] openSUSE 10.2 Reporter: Andreas Hanke <andreas.hanke>
Component: PatternsAssignee: JP Rosevear <jpr>
Status: RESOLVED DUPLICATE QA Contact: Andreas Jaeger <aj>
Severity: Major    
Priority: P5 - None CC: aj, coolo
Version: Alpha 5 plus   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: unacceptable GTK fonts in a KDE session
acceptable look

Description Andreas Hanke 2006-10-22 18:43:01 UTC
It seems that gtk2-engines is installed by default on GNOME installations only:

% find . -name '*.pat' -exec grep -H gtk2-engines {} \;
./DATA/descr/gnome_basis-64bit-10.2-57.ppc.pat:gtk2-engines-64bit
./DATA/descr/gnome_basis-32bit-10.2-57.x86_64.pat:gtk2-engines-32bit
./DATA/descr/gnome_basis-10.2-59.i586.pat:gtk2-engines
./DATA/descr/gnome_basis-10.2-57.x86_64.pat:gtk2-engines
./DATA/descr/gnome_basis-10.2-57.ppc.pat:gtk2-engines

This package contains dynamically loadable modules and is therefore not recognized by rpm as a dependency. So it needs to be handled on the patterns level.

Given that the "x11" pattern already includes MozillaFirefox, which is a GTK2 application and therefore affected by this problem and pulling in gtk2 anyway, I recommend to add it there.

Please take care of gtk2-engines-32bit and gtk2-engines-64bit as well. gtk2-engines-32bit is especially important on x86_64 because of MozillaFirefox.
Comment 1 Andreas Hanke 2006-10-22 19:58:54 UTC
I just noticed that this won't suffice because the default gtkrc (/etc/opt/gnome/gtk-2.0/gtkrc) references Gilouche, which is not in gtk2-engines but in gnome2-SuSE.

Whether installing that by default on non-GNOME systems is a good idea, I'm not sure. Maybe there's a better solution without installing extra packages.
Comment 2 Andreas Jaeger 2006-10-23 07:11:38 UTC
Let's reopen and discuss with some other folks.
Comment 3 Andreas Jaeger 2006-10-23 07:15:37 UTC
SL10.1 and SLES10 have gtk2-engines and gnome2-SuSE in the GNOME selection only, so we should have the same problem there as well.

JP, do you have any ideas?
Comment 4 Andreas Hanke 2006-10-24 13:36:45 UTC
The Summary of this bug is wrong and the assignment is wrong as well.

It seems to be a pure configuration problem. The look of GTK applications under KDE is unacceptable after first login and subsequent logins, even with a full GNOME installation on the system, until gnome-theme-manager has been run once.

Running gnome-theme-manager once, even without actually doing anything there, results in an acceptable look.
Comment 5 Andreas Hanke 2006-10-24 13:38:00 UTC
Created attachment 102437 [details]
unacceptable GTK fonts in a KDE session
Comment 6 Andreas Hanke 2006-10-24 13:39:40 UTC
Created attachment 102438 [details]
acceptable look

The only difference to the previous attachment is that gnome-theme-manager has been run once, without (actively) changing any settings there.
Comment 7 Andreas Jaeger 2006-10-27 08:04:49 UTC
JP, Coolo, what needs to be done here?
Comment 8 Stephan Binner 2006-10-27 08:28:04 UTC
About the font appearance, dupe of 193095?
Comment 9 Andreas Hanke 2006-10-27 14:35:29 UTC
(In reply to comment #8)
> About the font appearance, dupe of 193095?

Yes, seems so.
Comment 10 JP Rosevear 2006-11-09 16:58:06 UTC

*** This bug has been marked as a duplicate of bug 193095 ***