Bug 462637 - Allow adding folder symlink to Places
Summary: Allow adding folder symlink to Places
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Places (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
: 500305 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-12-04 16:06 UTC by Stefan Hamminga
Modified: 2025-07-04 20:00 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***