[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    what/when will icon cache refresh?
From:       johnm_s2 <s2 () forceway ! com>
Date:       2011-03-16 22:22:39
Message-ID: 4D81382F.4040005 () forceway ! com
[Download RAW message or body]

x86_64 KDE 4.6.00 (4.6.0) "release 6"

I've created an icon and installed it to
share/icons/hicolor/128x128/apps/. I refer to it in my app's .desktop
file, and I also load it at runtime using:

KIcon myicon("myicon");

But I'm not understanding the behavior of the icon caching. I make
changes to the icon, but the changes will not show up. It still shows
the original icon image. I even delete the icon file completely, yet it
still shows!

kbuildsycoca4 doesn't help, logout & login doesn't help. The only thing
i've found that works is to delete the icon-cache.kcache, and the kpc
folder.

Also it seems to properly load the updated icon if you do a relative
path ./, like:

KIcon myicon("./myicon");
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic