mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 06:06:07 -06:00
[GH-ISSUE #329] [dev build] very fast mouse scroll speed on client #174
Labels
No labels
Xorg
documentation
enhancement
macos
pull-request
question
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/lan-mouse#174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @markmandel on GitHub (Oct 15, 2025).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/329
I just noticed this on the updated dev build today.
When I scroll with my mouse wheel, it tends to scroll way further than it used to on the client (i.e. the non primary computer).
I'm 96.7% sure that it wasn't this aggressive before - I would have noticed - I use this every day 👍🏻
Is this just a me thing?
Running:
Debian Testing
Hyprland
@markmandel commented on GitHub (Oct 17, 2025):
Was just looking through history - I'm assuming https://github.com/feschber/lan-mouse/pull/325 is now why I'm finding scrolling SUPER fast in Chrome.
This is one click of my scrollwheel back and forth:
On my host machine, it only moves slightly down the page smoothly.
Update:
I check
wevon host vs client machine - and a scroll is the same value across both:@feschber commented on GitHub (Oct 17, 2025):
Yeah this is a regression in
39b79d88a5.axis_descretetakes tiks, not value120@feschber commented on GitHub (Oct 17, 2025):
@selckin could you check, if setting
axis_sourceis sufficient for your case? It should technically fix the scrolling regardless.@selckin commented on GitHub (Oct 18, 2025):
Without it and only axis_source it still only scrolls a tiny amount for me
Do you have an axis_value120 event ?
Maybe its capturing a wrong input value then?
@selckin commented on GitHub (Oct 18, 2025):
I install hyprland on my the client & server, and did some testing:
Server side niri or hyprland have same behavior
Client being hyprland then chrome scrolls normally and the events also have 120 value:
EDIT: ^ with my change/patch reverted
So difference in behavior between niri/smithay and hyprland, events also in different order not sure if that matters (yet)
@selckin commented on GitHub (Oct 18, 2025):
With or without my change, hyprland+chrome scrolls the same amount in my tests
I'll try and investigating it in more in details when I have time and look at what smithay and hyprland do; if you want to revert it till then that makes sense.
@markmandel commented on GitHub (Oct 18, 2025):
Appreciate y'all looking into this!
Bit busy at the moment, but happy to run tests or provide whatever information I can on my end in the next couple of days if needed or wanted.
@feschber commented on GitHub (Oct 19, 2025):
@selckin you are using niri on both sides, right? I think I will do a partial revert for now and test this myself.
@selckin commented on GitHub (Oct 19, 2025):
yes
@feschber commented on GitHub (Oct 27, 2025):
Alright, I'm pretty sure this is a niri bug:
e6f3c538da/src/protocols/virtual_pointer.rs (L522)they are directly using the discrete (=steps) value here as the v120. This should be multiplied by 120. I'm going to open a PR.
@feschber commented on GitHub (Oct 27, 2025):
https://github.com/YaLTeR/niri/pull/2684
@selckin commented on GitHub (Oct 27, 2025):
Thank you very much for looking into this, can confirm that everything works for me with the niri patch applied
@markmandel commented on GitHub (Oct 27, 2025):
New dev build is working much better for me! Thank you!
@feschber commented on GitHub (Nov 17, 2025):
Closing this, as it is now fixed upstream in niri :)