Skip to content

[kcm/kwinrules] Fix slow scrolling through rules list

Ismael Asensio requested to merge work/fix_rulescroll into Plasma/5.19

Every delegate was instantiating a Kirigami.ActionToolBar, which is a very expensive component, rising CPU usage specially on long lists. Replace them with simpler and cheaper QQC2.ToolButtons.

BUG: 421537 (https://bugs.kde.org/show_bug.cgi?id=421537)

TEST STEPS: Import a long list of rules (example attached in bug report) and scroll through them.

cc: @davidedmundson, @vladz

Merge request reports