https://bugs.kde.org/show_bug.cgi?id=423594
Kai Uwe Broulik <k...@privat.broulik.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Version Fixed In| |5.21.0 Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/plas | |ma/plasma-workspace/commit/ | |d8e0071f1d735238feee5b181c3 | |0ab45cbc54803 --- Comment #11 from Kai Uwe Broulik <k...@privat.broulik.de> --- Git commit d8e0071f1d735238feee5b181c30ab45cbc54803 by Kai Uwe Broulik. Committed on 11/01/2021 at 19:06. Pushed by broulik into branch 'master'. [Notifications] Compress removal of notifications When removing a notification, it is removed from the model, which will cause the view to update and move up an older notification, if any. If you now delete a bunch of notifications in quick succession we will create a dialog every time which then gets deleted again, causing another notification to move up, etc causing high CPU spikes and plasma freezes. This patch compresses removing notifications and tries to announce consecuetive ranges of notifications to be removed in one go. FIXED-IN: 5.21.0 M +71 -38 libnotificationmanager/abstractnotificationsmodel.cpp M +2 -0 libnotificationmanager/abstractnotificationsmodel.h M +8 -0 libnotificationmanager/abstractnotificationsmodel_p.h M +66 -1 libnotificationmanager/autotests/notifications_test.cpp M +1 -1 libnotificationmanager/notificationsmodel.h https://invent.kde.org/plasma/plasma-workspace/commit/d8e0071f1d735238feee5b181c30ab45cbc54803 -- You are receiving this mail because: You are watching all bug changes.