https://bugs.kde.org/show_bug.cgi?id=506032

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/8b2f22c28d24b3a70765b71d8
                   |                            |3f3cde77320ab7d
             Status|ASSIGNED                    |RESOLVED

--- Comment #11 from Akseli Lahtinen <[email protected]> ---
Git commit 8b2f22c28d24b3a70765b71d83f3cde77320ab7d by Akseli Lahtinen.
Committed on 31/07/2025 at 10:21.
Pushed by akselmo into branch 'master'.

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.

M  +14   -1    kioworkers/desktop/kio_desktop.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/8b2f22c28d24b3a70765b71d83f3cde77320ab7d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to