[Bug 157850] KStandardDirs picks kde3 application data instead of kde4's when both are installed (affects khtml)

Michael Pyne mpyne at purinchu.net
Tue May 27 05:47:59 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=157850         




------- Additional Comments From mpyne purinchu net  2008-05-27 05:47 -------
Sergey:  How does Debian setup the KDEDIRS (and XDG_DATA_DIRS for that matter) on your system?  I have the suspicion that /usr is a valid search dir for KStandardDirs but I wasn't aware that KStandardDirs could use paths like /usr/share/kde4.  (KStandardDirs normally appends /share/$type which would lead to paths like /usr/kde4/share/apps, and I don't see any code which would make it /usr/share/kde4/apps).

You want to make sure it has more specific entries before less specific ones.  i.e.

export XDG_DATA_DIRS=/usr/kde4/share:/usr/share

My interpretation of the code is that XDG_DATA_DIRS if set precedes KDEDIRS but you may want to try just settings XDG_DATA_DIRS right and leaving KDEDIRS alone.

I figure Debian patched KDE to search per Debian's guidelines but they need to make sure to search KDE 4 directories before system directories in that case.  (Or in many many less words, I'm not sure that KStandardDirs is really buggy).

For part 2, I don't see what the reason is for making the color transparent when there is no background-color entry set at all, which seems to be the case here?  Is there a way to make the default white (or Background) and only change it if it's actually set in the CSS somewhere?


More information about the Kdelibs-bugs mailing list