Bug 484309 - On Wayland, animated scroll transitions using Kirigami.WheelHandler are inappropriately disabled with some mouse wheel scroll speeds
Summary: On Wayland, animated scroll transitions using Kirigami.WheelHandler are inapp...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.1.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: kdelibs bugs
URL:
Keywords: wayland-only
: 483929 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-23 11:10 UTC by timofej
Modified: 2025-04-15 18:23 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.14
Sentry Crash Report:


Attachments
values 6 and 7 (3.32 MB, video/mp4)
2024-03-23 11:10 UTC, timofej
Details
values 1 - 4 (3.73 MB, video/mp4)
2024-03-23 11:13 UTC, timofej
Details
default values (1.99 MB, video/mp4)
2024-03-23 11:16 UTC, timofej
Details

Note You need to log in before you can comment on or make changes to this bug.
Description timofej 2024-03-23 11:10:34 UTC
Created attachment 167647 [details]
values 6 and 7

this does not happen on all values, I noticed that it happens on 1 and 4 and finally 6, but on 7 and on default the scrolling is smooth
Comment 1 timofej 2024-03-23 11:13:54 UTC
Created attachment 167648 [details]
values 1 - 4
Comment 2 timofej 2024-03-23 11:16:29 UTC
Created attachment 167649 [details]
default values
Comment 3 Vlad 2024-03-23 11:19:28 UTC
I have the same thing!
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Pentium® Gold 7505 @ 2.00GHz
Memory: 15.4 ГиБ of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: VivoBook_ASUSLaptop X515EA_F515EA
System Version: 1.0
Comment 4 vasil 2024-03-23 11:27:35 UTC
I have same bug. Bump!
Comment 5 worthymelight 2024-03-23 12:09:11 UTC
Same problem
Comment 6 Nate Graham 2024-04-12 21:13:24 UTC
Can reproduce. Might be an issue in Kirigami.WheelHandler, it it might be an issue with how KWin is sending scaled scroll events. Starting with Kirigami.
Comment 7 Nate Graham 2024-06-11 19:59:44 UTC
*** Bug 487831 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2025-01-23 20:52:09 UTC
*** Bug 483929 has been marked as a duplicate of this bug. ***
Comment 9 Bug Janitor Service 2025-04-14 17:55:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1773
Comment 10 Noah Davis 2025-04-14 21:33:10 UTC
Git commit fb21ee822f448136bfa032e0da5faca6ffc82b72 by Noah Davis.
Committed on 14/04/2025 at 18:20.
Pushed by ndavis into branch 'master'.

WheelHandler: smooth scroll for a greater variety of movement sizes

Duration is based on the duration and movement for 120 angle delta.
Shorten duration for smaller movements, limit duration for big movements.
We don't want fine deltas to feel extra slow and fast scrolling should still feel fast.
Minimum 3 frames for a 60hz display if delta > 2 physical pixels
(start already rendered -> 1/3 rendered -> 2/3 rendered -> end rendered).
Skip animation if <= 2 real frames for low refresh rate screens.
Otherwise, we don't scale the duration based on refresh rate or
device pixel ratio to avoid making the animation unexpectedly
longer or shorter on different screens.

M  +32   -24   src/wheelhandler.cpp
M  +0    -1    src/wheelhandler.h

https://invent.kde.org/frameworks/kirigami/-/commit/fb21ee822f448136bfa032e0da5faca6ffc82b72