Created attachment 121228 [details] How my notification history looks most of the time My notification history fills up with "Network Disconnected" notifications throughout the day as my computer periodically loses wifi and then re-connects. The notifications become useless spam once the network has re-connected, so I would recommend revoking them once the network re-connects. That way there will only ever be a maximum of one (if the network is still disconnected), and most of the time there will be zero (if the disconnected network has since re-connected).
*** Bug 409361 has been marked as a duplicate of this bug. ***
I experience a similar issue with notifications from Konversation or from KMail. Notificatons in plasma-nm have KNotification::CloseOnTimeout set, they should be automatically closed, which is not happening from some reason. @Kai, do you have idea what could be wrong? I'm running Plasma on Wayland if that is relevant.
Once in history, there's nothing you can do. We could add a "don't preserve in history flag" maybe or at least revoke the notification when its popup is still shown.
(In reply to Kai Uwe Broulik from comment #3) > Once in history, there's nothing you can do. > We could add a "don't preserve in history flag" maybe or at least revoke the > notification when its popup is still shown. Hmm, I must have misunderstood some of our recent conversations then. I was left with the impression that it was possible for an app to revoke its notification and for that notification to disappear from the history. If this isn't currently possible, what's blocking it from being possible?
> If this isn't currently possible, what's blocking it from being possible? A redesign of KNotification class to have its lifetime not bound to the expiration of the popup and an extension to the freedesktop Notification spec to allow applications to revoke notifications after the fact. And then persuading 3rd party apps to also use that.
Are there any other ways we could solve the issues brought up in this bug report? It's pretty annoying having an otherwise fairly clean notification history fill up with "Network disconnected" entries.
Fixed by https://cgit.kde.org/plasma-nm.git/commit/?id=9e032bf5107833c57279c4d4d89ce0567e26dc26
Bulk transfer as requested in T17796