Bug 159921 - Icon for folder set in .desktop file not updated when image file changes
Summary: Icon for folder set in .desktop file not updated when image file changes
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-03-26 22:18 UTC by Tomas Van Verrewegen
Modified: 2018-10-29 02:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Van Verrewegen 2008-03-26 22:18:04 UTC
Version:           1.0.99 (using 4.00.66 (KDE 4.0.66 >= 20080313), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.22-14-generic

i set an icon for a folder in a .desktop file. when the image file containing the custom icon is changed, the icon is not updated. in order to update the icon, i need to touch the .desktop file. when i zoom in or out so that a new icon size is used this new size of icon is correct, but when i zoom back to the original level, also the original (and now incorrect) icon is used. the thumbnailer should check the source image for modifications.

my .desktop file:
[Desktop Entry]
Icon=./Castle in the Sky (Tenkû no shiro Rapyuta, 1986).png
Comment 1 Tomas Van Verrewegen 2008-03-26 22:27:00 UTC
weird...
now one icon won't update at all any more.
i was putting custom icons on some folders in my movie collection, so saved some coverart in png format an created .desktop files. apparently the thumbnailer doesnt keep the image proportions (which is strange, i think it should), so i modified the images, but only when a new size of icon is requested, will the thumnailer create a new cached icon, so depending on zoom level now i have some good and some incorrect icons. when i resave the .desktop file for 3 out of 4 of the folders this solves the problem, but for one folder, nothing helps, the incorrect icon stay cached. even deleting and then restoring the image doesnt help.
Comment 2 Gregor Mi 2018-03-26 19:49:48 UTC
This might be fixed in Plasma 5.
Comment 3 Andrew Crouthamel 2018-09-28 03:26:45 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-29 02:21:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!