Summary: | Reconnecting to internet after downtime triggers flood of notifications from apps that remained open during that time | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Marten <w-m> |
Component: | Notifications | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | agurenko, fanzhuyifan, kdelibs-bugs, nate, nicolas.fella, plasma-bugs, postix, qydwhotmail, raphael.kde, w-m |
Priority: | HI | Keywords: | usability |
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Manjaro | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=440837 https://bugs.kde.org/show_bug.cgi?id=486070 |
||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Marten
2021-09-02 11:46:12 UTC
I am able to reproduce the frustrating flood of notifications in this case, but not any crashes or memory spikes because of it. Are you using an NVIDIA GPU? If so, you are probably experiencing Bug 414785 in addition to just the notification flood issue. Regardless, probably what we should do us suppress any notifications that are not sent in real-time; e.g. queued-up notifications from apps that *would have sent* while the network was down or Do Not Disturb mode was active. See Bug 440837. What about grouping notifications? If an application issues more than N notifications in a short time, display a (meta) notification saying "X notifications from this application", with the application and its icon in the notification title. A button "Show details" could open the notification drawer at the right place. It is still useful to be notified that something happened when reconnecting, leaving suspend or DND I think. In Plasma 6 I can now reproduce the performance issues resulting from the notification flood. Grouping them into one might make sense. We should also do some profiling to see why creating so many notifications causes performmance issues. The data flow can be like: (When flood prevention is enabled) NotificationSortProxyModel -> QSortFilterProxyModel to filter out floods -> QConcatenateTablesProxyModel -> QAbstractListModel to track floods and create summary notifications -> Just need someone to implement the 3 models. |