Summary: | Symbolic links on desktop:/ cannot open original location via properties dialog | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Luke Horwell <code> |
Component: | desktop:/ IOWorker | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, criguada, kamkaz, nate, notmart |
Priority: | NOR | ||
Version: | 5.27.9 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/421cb0e67df086bbde8bc42f4c5a1be6093979d9 | Version Fixed In: | 6.11 |
Sentry Crash Report: |
Description
Luke Horwell
2023-11-10 21:17:34 UTC
Can confirm the bug happens on Plasma 5.27.80 (Plasma 6 Alpha) too. Plus, the "link" icon at the bottom-right of the icon was missing, but the icon's label was italic. Can reproduce. An issue with the desktop:/ KIO Worker, I think. *** Bug 486459 has been marked as a duplicate of this bug. *** Note, that this bug does not happen only when following symbolic links from "desktop:". It also happens, when they are are in other "special" protocol-like locations, like "trash:". With that in mind, are you sure it has anything to do with desktop:/ IOWorker? I was trying to find which module is responsible for the "Properties for {file}" window, but I can't locate it. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1810 Git commit 421cb0e67df086bbde8bc42f4c5a1be6093979d9 by Kamil Kaznowski. Committed on 03/02/2025 at 17:32. Pushed by meven into branch 'master'. Fix symlink path resolution in File Properties If a symlink is opened from a virtual path like "desktop:/", the path resolution incorrectly applied absolute UNIX path to the virtual path. It resulted in an error whenever an "Open directory of symlink target" button was pressed. The absolute symlink path was combined with a protocol: "desktop:/absolute/symlink/path". Always change the source URL to the Most Local URL first before resolving the symlink. M +3 -1 src/widgets/kpropertiesdialogbuiltin_p.cpp https://invent.kde.org/frameworks/kio/-/commit/421cb0e67df086bbde8bc42f4c5a1be6093979d9 |