Bug 456301 - Kcalc high CPU usage when idle in background...
Summary: Kcalc high CPU usage when idle in background...
Status: RESOLVED DUPLICATE of bug 453534
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Evan Teran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-04 04:15 UTC by sapphire
Modified: 2024-06-19 13:21 UTC (History)
4 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 sapphire 2022-07-04 04:15:08 UTC
Kcalc high CPU usage when idle in background...

STEPS TO REPRODUCE
1. Launch kcalc
2. Do other activity or leave the computer be.
3. Observe higher cpu temperature and usage from process kcalc.

Kcalc uses cpu abnormaly while not being used.

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Comment 1 AVee 2022-07-21 14:21:32 UTC
I'm seeing this issue too, and can consistently reproduce it by switching between modes. 
- Switching to any other mode after a starting KCalc makes the kcalc process use a full core. 
- Switching to another mode again sometimes makes the cpu usage drop, but not always. 
- Closing KCalc and starting it again seems to bring it back to the same state, so if cpu usage was high before it will be high when KCalc is started again.
  - This only happens when KCalc is closed through the ui, not when killing the kcalc process. So whatever triggers this is save on shutdown.
- There seems to be no connection with the actual modes, just the switching triggering this.

I cannot (quickly) find anything saved by KCalc which might trigger this, it could well be something deeper in the system. The menu's are flickering as well when CPU is high, so it might not be KCalc specific.


Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.12-051812-generic (64-bit)
Graphics Platform: X11
Comment 2 Gerhard 2023-06-20 13:31:08 UTC
Can confirm that on:
Linux/KDE Plasma: openSUSE Tumbleweed 20230619
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

Quite annoying because the CPU fans start to rev up after a while...
Comment 3 popov895 2024-06-19 13:21:11 UTC

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