Bug 228657

Summary: when symbolic link shows to itsself dolphin can't edit the link
Product: [Frameworks and Libraries] kdelibs Reporter: tobimensch
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: peter.penz19
Priority: NOR    
Version: 4.4   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description tobimensch 2010-02-26 20:31:21 UTC
Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    Mandriva RPMs

1. Create a symbolic link(not a desktop file) with dolphin that shows to itsself. For example: name=kmail and link=kmail.
2. Open the properties of that link. And change the link to something else, like /usr/bin/kmail.
3. Open the properties dialog again, and the change will be gone.
Comment 1 tobimensch 2010-02-26 20:33:53 UTC
Indeed, it is impossible to edit symbolic links at all. The changes are gone even when the link didn't reference itsself.
Makes this bug even bigger IMO.
Comment 2 tobimensch 2010-02-26 20:59:37 UTC
To change a symbolic links you have to delete and then change it. I think dolphin should be able to do that automatically.
Comment 3 Jonathan Marten 2010-02-27 11:52:15 UTC
With the qualification in comment #1, is this not the same as bug 228325 (fixed in SVN)?
Comment 4 tobimensch 2010-02-27 12:00:52 UTC
@comment 3:
This seems to be an improvement. However, with this bugfix, you can only edit a link, if you also edit the name.
What if you had a typo in the link, but the name was correct? You'd either have to give it a wrong name to change the link, or to delete the link first, which is both rather cumbersome. (and not transparent to the user)
Why not make the link editable again, but implement it right this time, by always deleting a link before saving it again, but so that the user doesn't see it. To the user this should all be in the background and just work(tm).
The least that should be done is add a button when te link is not editable that says, "delete link to change".
Comment 5 Christoph Feck 2010-03-02 04:32:03 UTC
I tested it after commit 1096311 in trunk, and it is working as expected. You do not have to edit the name to edit the link target.

As this commit is backported to the 4.4 branch, it should be fixed with the KDE Software Compilation version 4.4.1.

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