Bug 504859

Summary: Process search field lags a little bit when clearing filter text with Ctrl+Backspace
Product: [Applications] plasma-systemmonitor Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: CONFIRMED ---    
Severity: minor CC: ahiemstra, nate, plasma-bugs-null
Priority: LO Keywords: usability
Version First Reported In: 6.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Potashev 2025-05-27 12:57:26 UTC
SUMMARY
Process search box lags when relaxing filter, i.e. when many processes need to reappear in the list.

STEPS TO REPRODUCE
1. Open systemmonitor -> Processes tab
2. Enter "aaaaaaa" in the search box
3. Press Ctrl+Backspace

OBSERVED RESULT
The UI freezes for ~500ms (very noticeable), then search box is cleared and the new list of processes appears.

EXPECTED RESULT
The search box should be cleared instantly.

SOFTWARE/OS VERSIONS
Operating System: gLinux Rodete
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.7.2
Kernel Version: 6.12.20-1rodete1-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Xeon® W-2135 CPU @ 3.70GHz
Memory: 62.4 GiB of RAM
Graphics Processor: Quadro P1000/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-05-27 21:10:32 UTC
I can reproduce a more minor version of this; on my machine, the first time I do it, it;s maybe 250ms. On subsequent attempts it's much faster though, practically instant.
Comment 2 Alexander Potashev 2025-05-29 22:56:07 UTC
> On subsequent attempts it's much faster

It's still noticeably slow here on subsequent attempts.