Hyprland
Hyprland copied to clipboard
Add HiRes Scroll Wheel Support
Description
My Logitech MX Master hires scrolling is not working on hyprland. It runs smoothly on weston.
Reference: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3461 https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/72/
how does one test that, and does it work on sway?
It's already working for me in hyprland, test telegram-desktop
I am experiencing the same issue with the same mouse but it is random. Scrolling works totally fine but at some point it starts acting "choppy" to unusable levels.
I think I'm facing this issue.
I have an MX Master 3 mouse.
Running solaar or logiops can make the mouse and hires scrolling work, but if I let the mouse sit for a while and timeout or disconnect (bluetooth I think), then the scrolling will be clearly "broken" until I restart solaar or logiops.
I used to run sway and had zero issues there, so the hires scrolling does seem to work in sway. When running sway I do not need to run solaar or logiops.
It seems that high resolution scrolling breaks mouse_down/mouse_up
as well, e.g.
"$mod, mouse_down, workspace, e+1"
"$mod, mouse_up, workspace, e-1"
The resulting behavior is similar to this ticket in sway
how does one test that, and does it work on sway?
For testing without a mouse that supports it I would use https://gitlab.com/warningnonpotablewater/libinput-config and set the discrete-scroll-factor-y=0.125
I'm on 0.43 and high resolution scroll support is still a bit wonky. Nautilus and gtk apps just ignore any hires scroll events and qt based apps are even worse because they register both the normal and hires scroll event. (idk how it works but there seems to be a timeout in hyprland where after a few ms without a hires event it treats it as a 'normal' scroll event)
Interestingly, using the scroll wheel in kitty works perfectly and is exacly the same as on gnome/plasma.
My mouse is a Logitech G502X and I enabled the hires scroll with solaar.