Bug 364511

Summary: Changing an icon for a file or folder does not function.
Product: [Applications] dolphin Reporter: overdiversifies_pryingly
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description overdiversifies_pryingly 2016-06-19 15:56:45 UTC
First, I'm sorry if this is a duplicate, I've searched and could not find this exact issue.

--------
Issue:

When trying to change an icon for a file or folder through the properties menu in Dolphin, the icon does not change.

------------
Solution:

The problem is because one or all of these files/folders are not created automatically by Dolphin (Dolphin will append errors to ~/.xsessions-errors if these files/folders do not exist):

~/.local/share/applications/
~/.local/share/applications/mimeapps.list
~/.config/mimeapps.list
~/.local/share/mime/
~/.local/share/mime/packages/

Manually creating all these files/folders fixes the issue.

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin.
2. Right click on a folder.
3. Click Properties.
4. Click the icon under General.
5. Select an icon.
6. Click OK.

Actual Results:  
The original icon is still in use.

Expected Results:  
The new icon should be used.

This issue affects every distributions I've tested: Arch Linux, OpenSuse Tumbleweed, Manjaro, KDE Neon.
Comment 1 Christoph Feck 2016-06-20 03:45:23 UTC
If you are using Plasma 5.6.5, and this is not fixed, please add a comment to bug 356237.

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