Bug 466866

Summary: "Link" and "Copy" operations originating from Dolphin fail to apply custom icon to linked or copied folder that was created in the destination
Product: [Applications] dolphin Reporter: SimplySand <kdebug3rep0rt.lwyfo>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: aleixpol, kfm-devel, nate
Priority: NOR    
Version: 23.03.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=425781
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The folder links to Documents but doesn't use the Documents folder icon when linked

Description SimplySand 2023-03-05 06:34:07 UTC
Created attachment 157005 [details]
The folder links to Documents but doesn't use the Documents folder icon when linked

SUMMARY
Folder icons for folders in the "Places" section are not properly selected when linking to Desktop in Wayland session.


STEPS TO REPRODUCE
1. Start a "Plasma (Wayland)" session.
2. Open Dophin file manager.
3. Drag a folder in the "Places" section (such as Home, Pictures or Downloads) to the desktop and select "Link here" or "Copy here".

OBSERVED RESULT
A link folder gets created with the default "New Folder" icon.

EXPECTED RESULT
The linked folder should have the custom icon corresponding to the icon in the Places folder. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.2.2-arch1-1
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-04-04 19:52:52 UTC
Can reproduce, and not only when the destination is Folder View. It reproduces in Dolphin too. But when linking from Folder View to Dolphin, the icon appears to be copied successfully. So it seems like Dolphin is as fault here when it's the originator of the link operation. Moving to Dolphin.