Bug 505087 - XDG user directories are added to the Places panel with default icons, even if a custom icon is set
Summary: XDG user directories are added to the Places panel with default icons, even i...
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Places (other bugs)
Version First Reported In: 6.14.0
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-01 10:29 UTC by Sevenseraphim
Modified: 2025-06-14 15:23 UTC (History)
4 users (show)

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


Attachments
Specific folders don't show the modified folder icon when added to the places panel (1.77 MB, video/mp4)
2025-06-01 10:29 UTC, Sevenseraphim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sevenseraphim 2025-06-01 10:29:48 UTC
Created attachment 181952 [details]
Specific folders don't show the modified folder icon when added to the places panel

SUMMARY
When you drag and drop certain folders to the places panel (specifically: Desktop, Documents, Downloads, Music, Pictures, Public, Templates) it does not appear with the correct custom folder icon. 
You need to right-click on these specific folders in the places panel and select Edit > Choose an icon > then select the icon you want. Only then will it change. 
This behaviour is different from adding any other folder to the places panel which will immediately reflect the modified folder icon.

STEPS TO REPRODUCE
1. Set a custom folder icon for any of the following folders located in your home folder: Desktop, Documents, Downloads, Music, Pictures, Public or Templates (or any external USB drives/hard drives)
2. Drag (or right click > add to places) any of the above mentioned folders into the places panel on the left

OBSERVED RESULT
The default folder icon for these folders is displayed in the places panel

EXPECTED RESULT
The modified folder icons for these folders should be displayed in the places panel

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.12.28-1-MANJARO (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Please see the attached video
Comment 1 Sevenseraphim 2025-06-01 10:40:06 UTC
I forgot to add that the Videos folder has this same issue as well. (Basically all the XDG folders)
Comment 2 John Kizer 2025-06-14 15:23:36 UTC
I can reproduce on a Fedora KDE 42 device. Thanks!

Looks like an edge case somewhat related to https://bugs.kde.org/show_bug.cgi?id=356045 , the solution to which covers custom icons for general folders, but might always use the icon theme's standard icons for XDG directories based on https://invent.kde.org/frameworks/kio/-/blob/v6.15.0/src/core/global.cpp?ref_type=tags#L193 ?