| Summary: | icon loader no longer finds koffice icons. | ||
|---|---|---|---|
| Product: | [Unmaintained] kdelibs | Reporter: | Thomas Zander <zander> |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cberger, halla, jaham, smart91 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Fix the loading | ||
Me too... *** Bug 164388 has been marked as a duplicate of this bug. *** Most likely caused by r794709, if someone can test ? It looks like the only potentially harmfull change in KIconLoad. Looking at it, it might be caused by the change in KIconLoaderPrivate::addAppThemes. In the previous revision, it was adding both currentTheme and defaultTheme, while now, it adds only either current or default. Created attachment 26250 [details]
Fix the loading
This fix the bug, but you have to nuke your icon cache (the only way I know to
do that is to rm ~/.kde[ |4] ). On the other hand, since I don't know what the
code is supposed to do, I am not sure if it is the good fix, but previous
revision didn't do that check.
It's safest to nuke the cache outside of KDE due to the mmap()'ing which is used. It's in /var/tmp/kdecache-$USER/kpc/kde-icon-cache* on my system, may be different on yours depending on if you have a different KDE_VARTMP (IIRC) env setting. SVN commit 836082 by berger: fix icon loading for custom theme of application CCBUG: 161990 M +2 -2 icons/kiconloader.cpp M +6 -1 tests/kiconloader_unittest.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=836082 SVN commit 836083 by berger: backport 836082, fix icon loading for custom theme of application BUG: 161990 M +2 -2 kiconloader.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=836083 |
Version: (using Devel) Installed from: Compiled sources Some weeks ago, in kdelibs trunk, loads of koffice icons started to be replaced with 'not-found' icons and we now get; kword(7599)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "music-note-16th" on screen. KOffice uses KIconLoader::global()->addAppDir("koffice"); and installs its icons in places like; /usr/local/kde/share/apps/koffice/icons/hicolor/22x22/actions/music-note-16th.png /usr/local/kde/share/apps/koffice/icons/oxygen/22x22/actions/callout-shape.png where /usr/local/kde/ is my KDEDIR. Since this used to work in kde3 and kde4.0.0 I'm wondering what changed.