Summary: | On Wayland, animated scroll transitions using Kirigami.WheelHandler are inappropriately disabled with some mouse wheel scroll speeds | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kirigami | Reporter: | timofej <timaadu756> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | davidpetko07, idvert3x, mikel5764, nate, noahadvs, notmart, opensourcemail123, spasnal, timaadu756 |
Priority: | NOR | Keywords: | wayland-only |
Version First Reported In: | 6.1.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=470746 | ||
Latest Commit: | https://invent.kde.org/frameworks/kirigami/-/commit/fb21ee822f448136bfa032e0da5faca6ffc82b72 | Version Fixed In: | 6.14 |
Sentry Crash Report: | |||
Attachments: |
values 6 and 7
values 1 - 4 default values |
Created attachment 167648 [details]
values 1 - 4
Created attachment 167649 [details]
default values
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 I have same bug. Bump! Same problem 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. *** Bug 487831 has been marked as a duplicate of this bug. *** *** Bug 483929 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1773 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 |
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