Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270239 - kdelibs-3.5.10-r5 breaks gnome-power-manager icon
Summary: kdelibs-3.5.10-r5 breaks gnome-power-manager icon
Status: RESOLVED DUPLICATE of bug 267018
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 00:00 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2009-05-18 08:35 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 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-05-18 00:00:38 UTC
I use kde-3.5 applications in Gnome (I prefer the Gnome desktop, but konqueror-3.5 is still the best Linux file manager). As a result, I have kdelibs-3.5 installed, and recently updated from kdelibs-3.5.10-r3 to kdelibs-3.5.10-r5

kdelibs-3.5.10-r5 installs /etc/env.d/45kdepaths-3.5 which sets XDG_DATA_DIRS="/usr/kde/3.5/share"
As a result, when I log into Gnome, I have XDG_DATA_DIRS="/usr/local/share:/usr/kde/3.5/share:/usr/share:/usr/share/gdm"
In other words, /usr/kde/3.5/share (kde 3.5 icons) gets searched before /usr/share (Gnome icons).

When /usr/kde/3.5/share is before /usr/share in the XDG_DATA_DIRS path, gnome-power-manager-2.26.1 cannot find its icons. Instead of one of gpm-battery-*-charging.png icons (appropriate for the charge level), it loads gtk-missing-image.png as the tray icon, independent of what the battery level is.

Therefore, when I logged into Gnome today, I didn't see the usual icon in the system tray showing that my battery level was low.

Therefore, after I unplugged my laptop, my battery ran down. Very unpleasant.

I suggest returning XDG_DATA_DIRS to the way it was in kdelibs-3.5.10-r3.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-18 08:35:38 UTC
sounds similar to bug #267018 or bug #264647. In any case we are not going back as the things that were done in bug #264647 are the corrects things to do for all DE in gentoo. We just need to figure out why kde or gtk+ doesn't take it as nicely as it should.

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