Bug 448032 - Volume monitoring feature causes excessive and constant CPU usage when applet is placed on the desktop
Summary: Volume monitoring feature causes excessive and constant CPU usage when applet...
Status: RESOLVED DUPLICATE of bug 441555
Alias: None
Product: plasma-pa
Classification: Plasma
Component: applet (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-06 18:00 UTC by Nate Graham
Modified: 2022-01-06 19:00 UTC (History)
3 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 Nate Graham 2022-01-06 18:00:48 UTC
STEPS TO REPRODUCE
1. Put a plasma-pa applet on the desktop
2. Start playing some music


OBSERVED RESULT
Plasmashell idles at 100% CPU usage, even when the applet is not visible because it is covered up by other windows


EXPECTED RESULT
the applet should not consume 100% CPU usage when on the desktop. At the minimum, we shouldn't do pointless work to monitor the volume while the applet isn't even visible because it's covered up by windows.
 

ADDITIONAL INFORMATION
The CPU usage is not as high for me when the applet lives in the System Tray and its popup is open; when doing this, plasmashell idles at about 40% CPU usage, rather than 100% when the applet is on the desktop. And when the popup is closed, CPU usage goes down to practically 0% as expected.
Comment 1 Nicolas Fella 2022-01-06 18:58:10 UTC
dup of https://bugs.kde.org/show_bug.cgi?id=441555 ?
Comment 2 Nate Graham 2022-01-06 19:00:37 UTC
Yep, looks like the same thing since the conclusion there is that it happens when the applet is visible.

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