Bug 386190

Summary: Excessive redraws in system settings
Product: [Applications] systemsettings Reporter: Stephan Diestelhorst <stephan.diestelhorst>
Component: sidebarviewAssignee: Marco Martin <notmart>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bugseforuns, kde, nate
Priority: NOR    
Version First Reported In: 5.11.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Stephan Diestelhorst 2017-10-25 21:51:34 UTC
Enabling the "Show Paint" effect shows a high number of unneccessary repaints of the left pane of the system settings dialog.  I found that while having a look at bug #381000.

Please have a look here:

https://www.youtube.com/watch?v=TAC14Izfbas
https://www.youtube.com/watch?v=-m6D3vi7za4

KDE Frameworks 5.39.0
Qt 5.9.1 (built against 5.9.1)
Comment 1 Marco Martin 2018-07-20 11:32:12 UTC
qml flips the buffers on every repaint, that's a normal behavior, you would see it also in plasmashell and any qml app, even a simple rectangle loaded in qmlshell
Comment 2 Stephan Diestelhorst 2018-07-20 13:26:35 UTC
Problem is that there was nothing changing, and the app consuming a huge amount of CPU power for effectively a static window.
Comment 3 Marco Martin 2018-07-20 15:00:23 UTC
hmm, not getting any cpu usage from systemsettings when not interacting with systemsettings master and kirigmai master
Comment 4 Nate Graham 2019-02-07 16:07:25 UTC
Me neither.