https://bugs.kde.org/show_bug.cgi?id=506032
Akseli Lahtinen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi |t/8b2f22c28d24b3a70765b71d8 |t/8df7d9aeffb82fe128113855c |3f3cde77320ab7d |66605ef6a8457dc --- Comment #12 from Akseli Lahtinen <[email protected]> --- Git commit 8df7d9aeffb82fe128113855c66605ef6a8457dc by Akseli Lahtinen. Committed on 31/07/2025 at 10:21. Pushed by akselmo into branch 'Plasma/6.4'. DesktopProtocol: If symlink target desktop file is unwritable, create new one to ApplicationsLocation If user creates a symlink from applications launcher to desktop, and that symlink points to a flatpak related desktop file, it is unwritable. Therefore renaming it wont work, since rename process wants to rename the "friendly name" of the desktop file. In these cases, we copy the symlink target desktop file data, create new one to the `QStandardPaths::ApplicationsLocation`, delete the old symlink and replace it with new one which points to the one we just created. Since this is writable, it will rename correctly. (cherry picked from commit 8b2f22c28d24b3a70765b71d83f3cde77320ab7d) 955ad41c DesktopProtocol: If symlink target desktop file is unwritable, create new one... a4f1fcbc If newPath exists, only link it Co-authored-by: Akseli Lahtinen <[email protected]> M +14 -1 kioworkers/desktop/kio_desktop.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/8df7d9aeffb82fe128113855c66605ef6a8457dc -- You are receiving this mail because: You are watching all bug changes.
