Bug 443696 - notices with expire times consume a lot of cpu and make the desktop unresponsive
Summary: notices with expire times consume a lot of cpu and make the desktop unresponsive
Status: RESOLVED DUPLICATE of bug 414785
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.22.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-14 07:02 UTC by Michael Hamilton
Modified: 2021-10-14 23:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hamilton 2021-10-14 07:02:22 UTC
Plasmashell and kwin_x11 consume a lot of CPU if multiple expiring notices are visible at the same time.

STEPS TO REPRODUCE
1. In a konsole bash shell execute many 20-second notifications:

  for i in 1 2 3 4 5 6 7 8 9 10; do notify-send --expire-time 20000 test $i;done

OBSERVED RESULT
Unresponsive/jerky desktop. High CPU usage.  Window dragging is very jerky.  Performance returns to normal as notices expire.

EXPECTED RESULT
No substantial effect on desktop responsiveness or CPU consumption.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Tumbleweed 20211005
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.15.2
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Processors: 6 x AMD-6300
Memory: 15.5 GiB
Graphics Processor: NVIDIA GeForce GTX 1650 SUPER with proprietary driver.
Comment 1 Nate Graham 2021-10-14 23:24:05 UTC

*** This bug has been marked as a duplicate of bug 414785 ***