Bug 428139 - List of window rules scrolls itself on mouseover after creating New Property
Summary: List of window rules scrolls itself on mouseover after creating New Property
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwinrules (show other bugs)
Version: 5.20.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-23 13:37 UTC by Patrick Silva
Modified: 2020-11-02 15:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.20.3


Attachments
screen recording (2.58 MB, video/webm)
2020-10-23 13:37 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-10-23 13:37:43 UTC
Created attachment 132659 [details]
screen recording

SUMMARY
Watch the attached screen recording please.

EXPECTED RESULT
List of window rules should not scroll itself on mouseover

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.1
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Comment 1 Nate Graham 2020-10-26 15:31:42 UTC
That's a lot of window rules.
Comment 2 Patrick Silva 2020-10-26 15:35:01 UTC
many workarounds for bug 351055 :(
Comment 3 Ismael Asensio 2020-10-26 20:25:22 UTC
I can reproduce this.

It happens when we are at the beginning of the list and create a New Property, which moves the current rule to the end of the list. I'll take a look on it.

Thanks!
Comment 4 Bug Janitor Service 2020-11-02 12:03:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/414
Comment 5 Ismael Asensio 2020-11-02 15:00:57 UTC
Git commit cfeca03e4865469764a63fb22566bfab3cc71adc by Ismael Asensio.
Committed on 02/11/2020 at 15:00.
Pushed by iasensio into branch 'master'.

kwinrules: Limit hightlight scrolling duration

By default, the rules list moves to the hightlighted item
(the one being edited) with a constant velocity. This can
be too slow when the list contains hundreds of items.

By setting `highlightMoveDuration` we set a maximum limit
for this animation.

M  +2    -0    kcmkwin/kwinrules/package/contents/ui/RulesList.qml

https://invent.kde.org/plasma/kwin/commit/cfeca03e4865469764a63fb22566bfab3cc71adc
Comment 6 Ismael Asensio 2020-11-02 15:05:18 UTC
Git commit 7465dcc9de58973da932a47449d81ef6668e0f72 by Ismael Asensio.
Committed on 02/11/2020 at 15:04.
Pushed by iasensio into branch 'Plasma/5.20'.

kwinrules: Limit hightlight scrolling duration

By default, the rules list moves to the hightlighted item
(the one being edited) with a constant velocity. This can
be too slow when the list contains hundreds of items.

By setting `highlightMoveDuration` we set a maximum limit
for this animation.

(cherry picked from commit cfeca03e4865469764a63fb22566bfab3cc71adc)

M  +2    -0    kcmkwin/kwinrules/package/contents/ui/RulesList.qml

https://invent.kde.org/plasma/kwin/commit/7465dcc9de58973da932a47449d81ef6668e0f72