Bug 375465 - Setting icon of root-owned directory overwrites default folder icon
Summary: Setting icon of root-owned directory overwrites default folder icon
Status: RESOLVED NOT A BUG
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: icons mode (show other bugs)
Version: 16.08.3
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 19:18 UTC by Cid Kramer
Modified: 2017-01-24 18:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
stock_folder icon overwrite bug (913.23 KB, image/png)
2017-01-23 19:18 UTC, Cid Kramer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cid Kramer 2017-01-23 19:18:06 UTC
Created attachment 103605 [details]
stock_folder icon overwrite bug

KDE Plasma Version: 5.8.3
KDE Frameworks Version: 5.26.0
Qt Version: 5.6.2

As a regular user setting an a custom icon through dolphin's folder properties dialog on a root owned folder results in all stock_folder icons being overwritten.

To try and replicate:
 - Right click any root owned folder (e.g /mnt/) and open the Properties dialog
 - Change the default icon to something else
 - refresh dolphins view and the icon becomes default for all folders instead of just the selected folder.
Comment 1 Elvis Angelaccio 2017-01-24 18:27:07 UTC
You are not setting a custom icon (you cannot do that on root-owned folders), you are changing the *default* icon for the inode/directory mimetype (through keditfiletype5, not part of Dolphin but of kde-cli-tools). This is why you see that icon on all the folders, is the intended behavior.