[systemsettings] [Bug 421537] New Window Rules kcm: scrolling through window rules list causes high cpu usage

2020-06-10 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=421537

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
   Version Fixed In||5.19.1

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 421537] New Window Rules kcm: scrolling through window rules list causes high cpu usage

2020-06-10 Thread Ismael Asensio
https://bugs.kde.org/show_bug.cgi?id=421537

Ismael Asensio  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/commit/e307038f84dc
   ||0fc0556b2ceb259da0c09b035ce
   ||1
 Resolution|--- |FIXED

--- Comment #5 from Ismael Asensio  ---
Git commit e307038f84dc0fc0556b2ceb259da0c09b035ce1 by Ismael Asensio.
Committed on 10/06/2020 at 21:29.
Pushed by iasensio into branch 'Plasma/5.19'.

[kcm/kwinrules] Fix slow scrolling through rules list

Every `AbstractItemDelegate` was instantiating a `Kirigami.ActionToolBar`,
which is a very expensive component, rising CPU usage specially on long lists.

Use `Kirigami.SwipeListItem` instead, as is seems the proper component.

M  +23   -30   kcmkwin/kwinrules/package/contents/ui/RulesList.qml

https://invent.kde.org/plasma/kwin/commit/e307038f84dc0fc0556b2ceb259da0c09b035ce1

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 421537] New Window Rules kcm: scrolling through window rules list causes high cpu usage

2020-06-10 Thread Ismael Asensio
https://bugs.kde.org/show_bug.cgi?id=421537

--- Comment #4 from Ismael Asensio  ---
Thanks for the rules attachment. I think I found the cause.
Submitting a fix.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 421537] New Window Rules kcm: scrolling through window rules list causes high cpu usage

2020-06-10 Thread Ismael Asensio
https://bugs.kde.org/show_bug.cgi?id=421537

Ismael Asensio  changed:

   What|Removed |Added

 CC||isma...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 421537] New Window Rules kcm: scrolling through window rules list causes high cpu usage

2020-06-10 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=421537

--- Comment #3 from Patrick Silva  ---
Created attachment 129199
  --> https://bugs.kde.org/attachment.cgi?id=129199=edit
my rules

Of course.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 421537] New Window Rules kcm: scrolling through window rules list causes high cpu usage

2020-06-10 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=421537

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #2 from David Edmundson  ---
As I'm super lazy, could you export your rules and attach?

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 421537] New Window Rules kcm: scrolling through window rules list causes high cpu usage

2020-05-15 Thread carl
https://bugs.kde.org/show_bug.cgi?id=421537

carl  changed:

   What|Removed |Added

 CC||schwanc...@protonmail.com
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #1 from carl  ---
I tried adding tons of empty rules and scroll in the list and I can see the
high CPU usage but also lagging.

-- 
You are receiving this mail because:
You are watching all bug changes.