Bug 208934 - Dolphin weird symlink behavior
Summary: Dolphin weird symlink behavior
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 03:16 UTC by Matty
Modified: 2018-03-31 10:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matty 2009-09-30 03:16:15 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    Slackware Packages

Dolphin/KDE4 has some weird/inconsistent behavior when using links

1. If you right click and select "link to new location(URL)" and enter the path, then everything is fine. When you open up the link in Dolphin, you get the actual path.

2. When you drag a folder and select "link here", the link that is created contains the relative path. 

So if you have:
/path/to/folder1
/home/matty/folder1 (where folder1 is the link to /path/to/folder1)

If you use method 1, Dolphin displays /path/to/folder1
method 2, Dolphin displays /home/matty/folder1 

Another thing to note is that when you use method 2, you also get a folder icon with a little arrow at the bottom left, indicating that it is a link. 

Perhaps this inconsistency should be addressed?
Comment 1 pier andre 2010-08-05 12:12:19 UTC
yes I think too this should be corrected, but I don't have the little arrow at the bottom left on my kde 4.4.4 suse 11.3
Comment 2 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:19:42 UTC
Resetting assignee to default as per bug #305719
Comment 3 Adrián Chaves (Gallaecio) 2012-10-27 05:41:43 UTC
Right after “Link to Location (URL)…”, you have the option “Basic link to file or directory”, which works consistently with the Link Here feature (creates a symlink).

Also, now Dolphin resolves symlinks, so while there is a minor delay, you end up with the linked path in the location bar, instead of the link path. I guess this means the bug is fixed.

On a side note: Dolphin creates absolute symlinks, not relative.
Comment 4 Frank Reininghaus 2013-12-17 17:09:04 UTC
Actually, this is not a Dolphin issue (neither way to create a link is provided by Dolphin itself), and I'm not sure if this is a bug at all. Please note that method 1 creates a desktop file, which contains the link, whereas method 2 creates a symbolic link. Both are completely different concepts. The drag&drop menu (method 2) uses KIO::link from kdelibs, and the "Link to new location (URL)" thing is also provided by kdelibs if I'm not mistaken.

If you still consider the linking behavior a problem, please point out why it causes trouble for you, and suggest a solution. Thanks.
Comment 5 Julian Steinmann 2018-03-31 10:34:20 UTC
Closing now, this should be the intended behavior.