https://bugs.kde.org/show_bug.cgi?id=504891
cwo <cwo....@posteo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/ |f8532d35a782af807448fde581f |172d3f096a9788ad97e72324827 |3f7239c77b7d6 |02ef8bc6c6110 --- Comment #5 from cwo <cwo....@posteo.net> --- Git commit 172d3f096a9788ad97e7232482702ef8bc6c6110 by Christoph Wolk. Committed on 04/06/2025 at 05:52. Pushed by cwo into branch 'Plasma/6.4'. applets/kickoff: recalculate app model binding on rootModel refresh Kickoff stores (a pointer to) the most recently accessed app category (including the all-apps category, but not favorites) through a binding chain fetching the rootModel's modelForRow() on the current index of the sidebar. That's a method call that does not by itself create a qml dependency on the main model state, so if the user installs or removes software, the underlying model is replaced completely (and the existing one is deleted), but the binding is not updated to point to the new (sub)model. Accessing the same category again will then fail (as it reads the old model, now null), until the user selects a different category first, changing the index and causing the binding to be reevaluated. Instead, reevaluate the binding whenever the rootModel is refreshed. (cherry picked from commit f8532d35a782af807448fde581f3f7239c77b7d6) Co-authored-by: Christoph Wolk <cwo....@posteo.net> M +6 -0 applets/kickoff/package/contents/ui/ApplicationsPage.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/172d3f096a9788ad97e7232482702ef8bc6c6110 -- You are receiving this mail because: You are watching all bug changes.