Bug 493902

Summary: Excessive CPU utilisation and jittery UI when resizing window
Product: [Applications] plasma-systemmonitor Reporter: Steve Vialle <steve_v>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahiemstra, nate, plasma-bugs
Priority: NOR    
Version: 6.1.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Steve Vialle 2024-10-01 08:11:53 UTC
SUMMARY
Resizing the window by dragging from window borders is extremely choppy, makes UI elements flicker and jump around all over the place, and causes plasma-systemmonitor CPU use to increase proportional to drag velocity. ~60% of one core (as self-reported by systemmonitor) is easily achievable. 
On a 10900K @ 5GHz, using this much CPU time to resize a window is completely ridiculous.

STEPS TO REPRODUCE
1. Have eyes.
2. Resize the plasma-systemmonitor window.
3. Observe.

OBSERVED RESULT
Horrible UI performance, unacceptable CPU utilisation.

EXPECTED RESULT
plasma-systemmonitor performs as well as ksysguard, and doesn't create the very problem "system monitor" applications are used to observe/diagnose.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.51-gentoo-dist (64-bit)
Graphics Platform: Either


ADDITIONAL INFORMATION
Other "modern" plasma applications (e.g. systemsettings) also have nasty jitter and eat excessive CPU cycles when drag-resizing their windows (i.e. this is probably a toolkit problem), but plasma-systemmonitor is by far the worst offender.
This is present in both wayland and X11 sessions.
Comment 1 Nate Graham 2024-12-19 18:21:10 UTC
Excessive CPU usage is Bug 434877, and jittery resizing is a Qt bug that's been fixed in Qt 6.9. Marking as a duplicate of Bug 434877, which is still an open issue.

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