Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95867 - Problems with XDG_DATA_DIR order
Summary: Problems with XDG_DATA_DIR order
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: 89870
Blocks:
  Show dependency tree
 
Reported: 2005-06-12 07:40 UTC by Jens Weibler
Modified: 2007-01-19 17:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Weibler 2005-06-12 07:40:28 UTC
If I start evolution it some icons are not displayed.  
If I change the default XDG_DATA_DIRS (/usr/kde/3.3/share:/usr/share)  
to /usr/share:/usr/kde/3.3/share everything works fine. 
Starting evolution in gnome works fine also 

Reproducible: Always
Steps to Reproduce:
1. check XDG_DATA_DIRS - mine is set by default with   
declare -x XDG_DATA_DIRS="/usr/kde/3.3/share:/usr/share"  
2. start evolution in kde and see the red X's 
3. change XDG_DATA_DIRS to /usr/share:/usr/kde/3.3/share  
4. start evolution again
Comment 1 Jens Weibler 2005-06-12 07:46:32 UTC
XDG_DATA_DIRS was set by /usr/kde/3.3/env/xdg.sh 
This file is owned by kdebase-3.3.2-r3 which should have fixed the issue #89870  
Comment 2 Jens Weibler 2005-06-13 01:36:54 UTC
It seems that both XDG_DATA-directories are searched for icons/<currentTheme> 
but it stops after the first was found.  
Comment 3 bravecobra 2005-06-15 11:44:57 UTC
I got the same problem. I switched the paths in xdg.sh and got my icons in
Evolution back. My menu stays in "KDE mode". However I wonder whether the
switching of the paths breaks other applications.
Comment 4 Conor Richard 2005-06-16 13:22:11 UTC
Modifying xdg.sh like comment #3 suggests messed up my kde menu again.
Comment 5 Jens Weibler 2005-06-20 10:04:35 UTC
kdebase-3.3.2-r3 got stable without fixing that bug :( 
 
A lot of programs are now displaying no symbols - not just evolution.. 
 
For Example: 
jtb@jtb /usr/kde/3.3/env $ totem 
 
** (totem:22599): WARNING **: Couldn't find themed icon for "panel-screenshot" 
jtb@jtb /usr/kde/3.3/env $ export XDG_DATA_DIRS="/usr/share:/usr/kde/3.3/share" 
jtb@jtb /usr/kde/3.3/env $ totem 
jtb@jtb /usr/kde/3.3/env $        
Comment 6 Herald Becker 2005-06-24 01:42:15 UTC
Switch the /usr/share to the front and it seems to be working again (tried it,
doesn't mess up the menu). So make the xdg.sh script look like comment #5.

Like so: export XDG_DATA_DIRS="/usr/share:/usr/kde/3.3/share"
Comment 7 drumz 2005-06-25 08:56:09 UTC
I can confirm that the above fix worked for me.  After making the change I
closed/restarted evolution and _some_ of the icons came back.  I then logged
out, killed my x server (ctrl-alt-backspace) to make sure everything started
from scratch with the change and logged back in.  Restarted evolution and all of
the icons were back - much better!
Comment 8 Harley Privitera 2005-08-12 09:07:06 UTC
I just ran into this problem with a stage 3 build; I found lots of directories
below /usr/share/icons/ that did not allow non-root access, after a "find
/usr/share/icons -type d | xargs chmod +rx" my evolution icons came back.
Comment 9 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-01 12:54:47 UTC
So why is this assigned to gnome-office rather than to KDE?  It's not like we
can fix it...
Comment 10 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-15 02:22:54 UTC
Is this still an issue with kde-3.5.5? Bug 89870 has been fixed now.
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-19 17:19:36 UTC
This is fixed as of kdelibs-3.5.6.