Bug 486483 - Retain notification history across plasmashell restarts
Summary: Retain notification history across plasmashell restarts
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: master
Platform: Neon Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-03 02:11 UTC by Paul Wise
Modified: 2024-05-03 19:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Wise 2024-05-03 02:11:16 UTC
SUMMARY
When the Plasma Shell is restarted, it looses all notification history.

STEPS TO REPRODUCE
1. Get an application to send a notification.
2. Verify the notification is in the history.
3. Run `systemctl restart plasma-plasmashell.service`
4. Check the notification history again.

OBSERVED RESULT
The notification history is empty after the restart.

EXPECTED RESULT
The notification history is preserved after restarts.

SOFTWARE/OS VERSIONS
KDE Neon: neon-unstable-20240428-1118.iso
(available in About System)
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
I discovered this on Debian trixie with KDE Plasma Desktop 5 and then verified it was still present in the latest KDE Neon unstable distribution. The restarts on Debian were due to plasmashell crashes, but I also want to safely be able to do systemctl restarts based on needrestart output after library upgrades.
Comment 1 Nate Graham 2024-05-03 19:42:20 UTC
Yup, notification history is in-memory only at this point.