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

cwo <[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/5cc5a1cb567460f1a6fc8fcea |t/b0e8d9282033b9656c558c024
                   |8264da116604efb             |6114c1e1ab9d9f2

--- Comment #5 from cwo <[email protected]> ---
Git commit b0e8d9282033b9656c558c0246114c1e1ab9d9f2 by Christoph Wolk.
Committed on 05/10/2026 at 17:26.
Pushed by cwo into branch 'Plasma/6.8'.

applets/kicker: fix ComputerModel system apps

Amends c99f33d46b59276f29ce26095c09c3a65ad1b028

ComputerModel uses a SimpleFavoritesModel for its system apps list. This
list is stored in the config using bare desktop names, but the in-memory
representation is updated to use favoriteId style (i.e. full urls, with
"applications" scheme for apps) internally after loading. The problem is
that looking up the entry by id, as we do on a refresh, currently does
not handle this correctly and instead considers all schemes except
"preferred" to be files. So while everything works correctly initially,
when you install/uninstall an app, it triggers a refresh, and the apps
are replaced by invalid file representations of their desktop file
(invalid as FileEntry can't handle this url scheme - it's only for apps,
not for files).

The machinery can handle the favoriteId-style urls perfectly fine, we
just need it to use the one for apps, not the one for files.
FIXED-IN: 6.8.0


(cherry picked from commit 5cc5a1cb567460f1a6fc8fcea8264da116604efb)

Co-authored-by: Christoph Wolk <[email protected]>

M  +1    -1    applets/kicker/simplefavoritesmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/b0e8d9282033b9656c558c0246114c1e1ab9d9f2

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

Reply via email to