Bug 462637

Summary: Allow adding folder symlink to Places
Product: [Frameworks and Libraries] frameworks-kio Reporter: Stefan Hamminga <stefan>
Component: PlacesAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: felixernst, kde, kdelibs-bugs-null, kfm-devel, mail, nate, postix
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.15
Sentry Crash Report:

Description Stefan Hamminga 2022-12-04 16:06:18 UTC
SUMMARY

The Places panel in Dolphin won't accept symlinks. This goes against the idea of a link being treated mostly transparent.

STEPS TO REPRODUCE

Drag a symbolic link to a folder to the Places panel

OBSERVED RESULT

Error message "Only folders can be added to the Places panel"

EXPECTED RESULT

Folder added to Places panel (dereference link for target, use link name for presentation)
Comment 1 Felix Ernst 2022-12-08 10:44:31 UTC
Makes sense to me.
Comment 2 Nate Graham 2025-05-16 21:58:25 UTC
Git commit 60fa5c83244005254ae42397e056e03ba6c29f7b by Nate Graham, on behalf of Maks Góralik.
Committed on 16/05/2025 at 21:58.
Pushed by ngraham into branch 'master'.

KFilePlaces: Allow symlinks to directories to be dropped into places panel

This change simply instructs the stat call to resolve symlinks, which will
allow symlinks to directories to be dropped into the places panel.
FIXED-IN: 6.15

M  +1    -1    src/filewidgets/kfileplacesmodel.cpp

https://invent.kde.org/frameworks/kio/-/commit/60fa5c83244005254ae42397e056e03ba6c29f7b
Comment 3 Nate Graham 2025-07-04 20:00:16 UTC
*** Bug 500305 has been marked as a duplicate of this bug. ***