Bug 346317

Summary: Custom folder icons are stored in the .directory file, but now shown in the view
Product: [Frameworks and Libraries] frameworks-kio Reporter: Soukyuu <chrno-sphered>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: normal CC: chgonzalezg, frank78ac, hrvoje.senjan, kdelibs-bugs, wbauer1
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Soukyuu 2015-04-17 19:36:43 UTC
Picking a folder icon works, but upon confirming and closing, the icon does NOT display. However, a correct .directory file is written to the directory in question

Reproducible: Always

Steps to Reproduce:
1. select folder->properties
2. select icon->ok (icon displayed in properties dialog)
3. close the properties dialog

Actual Results:  
Default folder icon is shown

Expected Results:  
Custom folder icon is shown

Changing to the directory and viewing hidden files shows the .directory file with the correct icon displayed. This is on dolphin-git, checked out just now. Rest of the system is running the latest plasma 5.3 packages from kde-unstable.
Comment 1 Wolfgang Bauer 2015-04-18 13:25:46 UTC
I can confirm this here with Frameworks 5.9.0, Plasma 5.3 beta, and the latest dolphin git version (from 17 hours ago...).

Btw, the same issue exists in KF5's file open/save dialog. I.e. it doesn't show the custom icon for the folder either, but the default icon. But it shows the .directory file with the custom icon when entering the folder.
So this is probably not a dolphin specific problem.
Comment 2 Frank Reininghaus 2015-04-19 11:22:08 UTC
Thanks for the analysis. It's probably a KIO issue.
Comment 3 Soukyuu 2015-04-19 12:12:59 UTC
Not that I think about it, the issue reminds me of how dolphin (or, kio, I guess) behaves with "slow" filesystems a la smb - not displaying the custom icon.
Comment 4 Soukyuu 2015-04-19 12:13:38 UTC
Err, typo. "now that I think about it".
Comment 5 Wolfgang Bauer 2015-08-10 18:50:06 UTC
I just discovered a more recent bug report about the same issue, which has a proposed fix.

https://git.reviewboard.kde.org/r/124690/

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