Summary: | Expanded Desktop widget does not update with new notifications once cleared | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | ulterno |
Component: | Notifications | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | kde, nate |
Priority: | NOR | ||
Version First Reported In: | 6.3.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/142caad00345dd4d6493a328a0d25fb2fb8e264a | Version Fixed In: | 6.4.0 |
Sentry Crash Report: |
Description
ulterno
2025-05-05 23:33:02 UTC
Can confirm on git master. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5460 Git commit 142caad00345dd4d6493a328a0d25fb2fb8e264a by Christoph Wolk. Committed on 12/05/2025 at 05:59. Pushed by cwo into branch 'master'. applets/notification: fix fullRepresentation-only widgets The fullRepresentation has a little efficiency trick: it unloads the model while it is not expanded, so the ListView does not need to be updated while it is not visible. In general this is fine, but it interacts very badly with attempts to put the fullRepresentation directly on the desktop (or in a very large panel) and the auto-closing functionality of the notification applet. When the notification history ever becomes empty, it tries to close the fullRepresentation by setting expanded to false, which by itself does not do any harm either (the fullRepresentation stays a fullRepresentation), but it does unload the model, so the history never updates again (unless the user manually resizes it to become too small for the fullRepresentation then back again, which resets it to its proper expanded state). Instead, we modify closePlasmoid() to only set expanded to false if the widget is below either switchWidth or switchHeight. FIXED-IN: 6.4.0 M +1 -1 applets/notifications/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/142caad00345dd4d6493a328a0d25fb2fb8e264a |