Bug 500305 - Unable to drag-and-drop symlinks to folders into the Places panel
Summary: Unable to drag-and-drop symlinks to folders into the Places panel
Status: RESOLVED DUPLICATE of bug 462637
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Places (other bugs)
Version First Reported In: git master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 10:26 UTC by Kisaragi Hiu
Modified: 2025-07-04 20:00 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kisaragi Hiu 2025-02-18 10:26:31 UTC
SUMMARY
Symlinks generally act like the thing being symlinked to apart from being marked as a symlink. This means, for example, if I right click on a symlink to a folder, just like when I right click on a folder, I get the option to add the path to the Places panel (in Dolphin the action is called Add to Bookmark).

However, if I drag-and-drop the item to the places panel instead, the folder view complains that the panel only supports folders.

Symlinks can become invalid (target renamed), but folder paths can also become invalid (folder gets deleted), so adding a symlink to a folder into the Places panel should be a supported interaction. Right now that can be done with the right click menu but not via drag-and-drop.

STEPS TO REPRODUCE
1. Create a symlink to a folder (in Dolphin, drag-and-drop folder to empty place, then Link Here, then give it a different name)
2. Right click on the symlink, select Add to Bookmark, and observe how it does work. Then remove the just-added bookmark item
3. Drag-and-drop the symlink to the Places panel.

OBSERVED RESULT
Dolphin or KIO refuses to add the symlink to a folder into the Places panel despite it being a valid interaction.

EXPECTED RESULT
The symlink to a folder gets added to the Places panel just like a normal folder would.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-17-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Neon package version for kf6-kio is 6.10.0+p24.04+vunstable+git20250218.0023-0
Comment 1 John Kizer 2025-02-28 06:10:04 UTC
Hi - I can reproduce on Fedora KDE 41. Thanks!
Comment 2 John 2025-02-28 08:46:02 UTC
I agree!
Symlinks to folders should be treated as those folders the symlinks are pointing to are treated.
And I guess it should be the same with files.
I haven't tried to ad symlinks to the Places panel, but I have a few symlinks that I use as shortcuts to both folders and files on my Desktop for quick access to locations.
If one day I want to add the ones pointing to folders to the Places panel, I wish that would work.
Comment 3 Nate Graham 2025-07-04 20:00:16 UTC

*** This bug has been marked as a duplicate of bug 462637 ***