Bug 711018 - xfce-utils xinitrc sets GTK_PATH which confuses themes multilib
xfce-utils xinitrc sets GTK_PATH which confuses themes multilib
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: xfce-utils (Show other bugs)
15
x86_64 Unspecified
medium Severity medium
: ---
: ---
Assigned To: Kevin Fenzi
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-06 04:55 EDT by Jens Petersen
Modified: 2011-06-23 23:35 EDT (History)
2 users (show)

See Also:
Fixed In Version: xfce-utils-4.8.2-1.fc15
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-06-23 23:35:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Xfce 7483 None None None Never

  None (edit)
Description Jens Petersen 2011-06-06 04:55:43 EDT
Description of problem:
xfce-utils' xinitrc file sets GTK_PATH to ":libdir/gtk-2.0".

This seems to break the gtk theming of 32bit gtk apps on  x86_64.

How reproducible:
every time

Steps to Reproduce:
1. run 32 bit gtk application on x86_64 xfce desktop
eg remove gtk2-devel.x86_64 and install gtk2-devel.i686
and run gtk-demo.
2. $ printenv GTK_PATH
  
Actual results:
1. Uses the gtk fallback theme (looks like a 90's motif application;)
2. GTK_PATH=:/usr/lib64/gtk-2.0

Expected results:
1. To use the default gtk theme
2. GTK_PATH to be unset

Additional info:
I used gtk-demo from gtk2-devel.i686 to reproduce.

$ GTK_PATH="" gtk-demo

is ok
Comment 1 Jens Petersen 2011-06-06 05:17:51 EDT
As noted in the upstream report this also breaks loading of 32bit gtk3 modules for multilib.
Comment 2 Jens Petersen 2011-06-06 06:04:43 EDT
This package:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3112756

fixes the problem for me.

(BTW I think the pulseaudio patch is not actually doing anything:
it needs to be applied to xinitrc.in.in to actually get into
the final xinitrc and not be overwritten, if pulseaudio is wanted.)
Comment 3 Kevin Fenzi 2011-06-07 00:16:13 EDT
Interesting. 

Are there real life cases? Where did you run into this out of curiosity... ;)
Comment 4 Jens Petersen 2011-06-08 05:07:48 EDT
Sure - eg 32bit browsers on x86_64...
Comment 5 Jens Petersen 2011-06-08 05:09:39 EDT
A better patch that might make upstream happy would be
perhaps to set GTK_PATH only if @libdir@ != %{_libdir} say.
Comment 6 Fedora Update System 2011-06-18 09:10:25 EDT
xfce-utils-4.8.2-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/xfce-utils-4.8.2-1.fc15
Comment 7 Fedora Update System 2011-06-21 13:37:12 EDT
Package xfce-utils-4.8.2-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xfce-utils-4.8.2-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/xfce-utils-4.8.2-1.fc15
then log in and leave karma (feedback).
Comment 8 Fedora Update System 2011-06-23 23:35:53 EDT
xfce-utils-4.8.2-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.