Summary: | Cannot restore files sent to Trash via Qt because Dolphin incorrectly handles absolute paths for .trashinfo | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Patrick Silva <bugseforuns> |
Component: | Trash | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdelibs-bugs, nate, nicolas.fella |
Priority: | NOR | ||
Version: | 5.101.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/dd5428c95a69579887cad931e077802c770406c3 | Version Fixed In: | 6.6 |
Sentry Crash Report: |
Description
Patrick Silva
2023-01-02 21:55:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1106 Git commit dd5428c95a69579887cad931e077802c770406c3 by Christoph Cullmann, on behalf of Nicolas Fella. Committed on 31/08/2024 at 20:13. Pushed by cullmann into branch 'master'. [trash] Fix restoring entries with absolute paths in disk-local trash If a mounted disk has a local trash folder we save a relative path to the mountpoint/trashdir in the trashinfo and restore accordingly. However, an app writing to the trash might set an absolute path. Handle that properly M +4 -2 src/kioworkers/trash/trashimpl.cpp https://invent.kde.org/frameworks/kio/-/commit/dd5428c95a69579887cad931e077802c770406c3 |