Summary: | Copying symbolic links with Dolphin adds absolute path to link | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Uri Herrera <uri_herrera> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | frank78ac, kdelibs-bugs, simonandric5, varlesh |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kio/f2c96d1550f22600f1b6dee74851c25a3f733ef4 | Version Fixed In: | 5.16 |
Sentry Crash Report: |
Description
Uri Herrera
2015-09-20 00:06:22 UTC
Thanks for the bug report. I can confirm this behavior. I cannot comment on whether this change is intended or not. I assume that this could be due to a change in the KIO library, which Dolphin and other KDE applications use for copying files. Indeed this didn't happen in the kdelibs4 version of Dolphin. Nice, QFileInfo::symlinkTarget() always returns an absolute path, and there's no function in Qt for reading the relative symlink target. I'll use readlink.... Git commit f2c96d1550f22600f1b6dee74851c25a3f733ef4 by David Faure. Committed on 24/10/2015 at 18:01. Pushed by dfaure into branch 'master'. Preserve relative link targets when copying symlinks. REVIEW: 125515 FIXED-IN: 5.16 Change-Id: I7d3c988da32cae9d14750c8adb9ca5af6d140572 M +59 -0 autotests/jobtest.cpp M +2 -0 autotests/jobtest.h M +12 -1 src/ioslaves/file/file.cpp http://commits.kde.org/kio/f2c96d1550f22600f1b6dee74851c25a3f733ef4 Why on Dolphin bugged symlinks??? I create symlink New - Symbolic Link Link: Folder2 Path: ../../Folder Open preferncies Folder2 and see link: /home/user/folder/.../.../folder What is this? Why not save real name ../../folder? varlesh: please open new bug reports for unrelated problems. This bug report was about *copying* symlinks, your report is about *creating* symlinks. I can confirm the bug and I'm looking into it, but please don't hijack existing bug reports for new issues. Can you open a new bug report? |