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

--- Comment #16 from cwo <[email protected]> ---
Git commit 175b6041d69506e0193419a51e3f858696bcc9ea by Christoph Wolk.
Committed on 13/05/2026 at 07:14.
Pushed by cwo into branch 'master'.

applets/kicker: return more roles explicitly

Similar to ef0009ad and 510bd959

Kicker's models sometimes return an empty QVariant if the role is
irrelevant to the model. This breaks with required bool properties if
the ListView is reused with a different model; the empty QVariant does
not become false, but maintains the previous value. Main kicker's
submenus reuse the listview, so moving e.g. from an app category submenu
to Recents or system actions may cause entries there to be
inappropriately marked as subcategories, separators, or (in 6.7) as
newly installed.

Instead, explicitly return bool false for the roles where this may be an
issue.

M  +2    -0    applets/kicker/appsmodel.cpp
M  +12   -0    applets/kicker/recentusagemodel.cpp
M  +8    -0    applets/kicker/systemmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/175b6041d69506e0193419a51e3f858696bcc9ea

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

Reply via email to