Bug 458308

Summary: Kcalc uses excessive CPU when idle - workaround found
Product: [Applications] kcalc Reporter: cshrimpt+kde
Component: generalAssignee: Evan Teran <evan.teran>
Status: RESOLVED DUPLICATE    
Severity: normal CC: popov895
Priority: NOR    
Version: 22.08.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description cshrimpt+kde 2022-08-25 17:56:05 UTC
SUMMARY

When Kcalc is launched, the app uses an excessive amount of CPU when idle. CPU usage is between 20-50%. If I create an application setting that slightly increases the window size at launch, the app uses an expected amount of CPU when idle of <1%. Resizing the window after launch also reduces CPU, but it's more convenient to do it at launch.

Note that resizing back to the original size will drive up the CPU to excessive levels.

***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Launch Kcalc
2. 
3. 

OBSERVED RESULT
CPU usage between 20-50% when idle

EXPECTED RESULT
CPU usage should be <1% when idle

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon - kernel 5.15.0-46
(available in About System)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Intel HD Graphics 520
Intel i7-6500U
Comment 1 popov895 2024-06-19 13:18:42 UTC

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