| Summary: | Folder selector fails to expand folders if started from "Create Symlink" dialog on desktop | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | medin <med.medin.2014> |
| Component: | desktop:/ IOWorker | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | f.alexander.wilms, hein, lluc.simo, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.10 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/71a628ab22ffc688b0acddb7befafaf6c3baef85 | Version Fixed/Implemented In: | 6.21 |
| Sentry Crash Report: | |||
|
Description
medin
2024-01-03 09:53:53 UTC
Can reproduce. This is an issue with the desktop:// ioworker as far as I can tell. I see desktop:// being inappropriately prepended to the path. *** Bug 512218 has been marked as a duplicate of this bug. *** A potential fix is in progress with https://invent.kde.org/frameworks/kio/-/merge_requests/2057. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3320 Git commit 71a628ab22ffc688b0acddb7befafaf6c3baef85 by Méven Car, on behalf of Lluc Simó Margalef. Committed on 30/11/2025 at 11:05. Pushed by meven into branch 'master'. Fix creating links to subdirectories of desktop links This commit request fixes a bug that caused the creation of invalid links to subdirectories of desktop links. The bug was caused by the use of a `desktop:/` URL as the base for the new link, which resulted in an invalid path. The fix is to use `mostLocalUrl()` to get the local file system path before creating the link dialog. This ensures that the `KUrlRequester` start path is valid and so removes the chance to create a non-working symlink. FIXED-IN: 6.21 M +6 -1 src/filewidgets/knewfilemenu.cpp https://invent.kde.org/frameworks/kio/-/commit/71a628ab22ffc688b0acddb7befafaf6c3baef85 |