Bug 386555 - FolderView / Icon cache : previous PNG custom icon remains after change
Summary: FolderView / Icon cache : previous PNG custom icon remains after change
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 5.10.0
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-05 15:45 UTC by Mahendra Tallur
Modified: 2020-02-22 04:33 UTC (History)
5 users (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 Mahendra Tallur 2017-11-05 15:45:47 UTC
Hi ! I stumbled upon a very specific problem with the Folder View icon cache apparently.

- I created in the applications menu a new entry for a game that was provided in a zip file (From Humble Bundle). I chose a custom PNG icon on my disk. I linked the desktop file to my "games" folder view.

- It was displayed properly but I figured out I chose the wrong icon so I edited my application entry and chose a different PNG icon

--> for some reason, the old icon is still displayed in the folder view (this folder view is linked to a directory that contains some of my games desktop files). I tried rebooting, removing / readding the shortcut...

HOWEVER : 
- the NEW icon is shown in the apps menu.
- the NEW icon is shown when browsing the aforementioned directory in Dolphin
- the NEW icon is shown in folder view if I don't link but copy the desktop file from the applications menu

- if I choose a new icon from the built-in KDE icons set (and not an external PNG icon), the NEW icon is EVEN shown in folder view

So to sum it up all, the bug only occurs in FolderView, when LINKING a desktop entry from the apps menu containing an EXTERNAL PNG icon that was modified once. Note both PNG icons had the same name, I didn't check if it was related.


Thanks a lot to everyone involved, I love the work carried out in FolderView recently !
Comment 1 Mahendra Tallur 2017-11-06 08:30:48 UTC
Hmm, after a complete system reboot, the old icon eventually vanished. So the consequences of this bug are clearly temporary.

Before rebooting, the good icon would be show in the apps menu & dolphin, but the bad icon in folder view. Disconnecting didn't make a difference but rebooting apparently did, for some reason !
Comment 2 Nate Graham 2020-01-23 19:22:32 UTC
Cannot reproduce in Plasma 5.17 or the 5.18 beta. Can you?
Comment 3 Bug Janitor Service 2020-02-07 04:33:15 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
mark the bug 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 Bug Janitor Service 2020-02-22 04:33:17 UTC
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!