Repository navigation
Description
OS
macOS 26.5.2 (Build 25F84)
LinearMouse
v0.11.4
Describe the bug
First of all, thank you for creating and maintaining LinearMouse. I really like this project and it has been extremely useful for me. In particular, it allows me to continue using my mouse even though its physical scroll functionality is no longer working properly. So I really appreciate the work that has gone into this project.
The Auto Scroll feature does not seem to work correctly when the initial middle-click/drag is performed over a clickable item, such as a link or a thumbnail.
For example, when using Auto Scroll in a browser, if I middle-click and start dragging directly over a link or a clickable thumbnail, Auto Scroll does not activate as expected.
A similar issue happens in Finder when trying to start Auto Scroll over a clickable item/file.
Previously, there was an option to disable the middle-click function in browsers, which I used as a workaround while browsing. However, I noticed that this option is no longer available in the current version.
To reproduce
Finder
- Enable the Auto Scroll feature in LinearMouse.
- Open Finder and navigate to a folder containing multiple documents/files.
- Move the mouse cursor over a clickable file/item.
- Press the middle mouse button and immediately drag.
- Try to use Auto Scroll.
Result: Auto Scroll does not work when the action starts directly over the clickable item.
Browser
- Enable the Auto Scroll feature in LinearMouse.
- Open a browser and navigate to a website such as YouTube.
- Move the mouse cursor over a clickable element, for example a video thumbnail/link.
- Press the middle mouse button and immediately drag.
- Try to use Auto Scroll.
Result: Auto Scroll does not activate/work when the middle-click drag starts over the clickable element.
If I start the middle-click drag on an area that is not clickable, Auto Scroll works as expected.
Expected behavior
Auto Scroll should activate regardless of whether the cursor is initially positioned over a clickable element or a non-clickable area.
Ideally, LinearMouse should intercept the middle-click + drag gesture before the underlying application handles the middle-click action, allowing Auto Scroll to work consistently.
It would also be helpful if the previous “disable middle click function in browser” option could be restored, if possible. That option was a useful workaround for this kind of conflict.
Anything else?
The issue seems to be related to the underlying application receiving/handling the middle-click event when the cursor is over a clickable element.
The Auto Scroll feature itself works correctly when starting the gesture over non-clickable areas, so I suspect this may be related to how LinearMouse handles or intercepts middle-click events.
Thank you again for this great project. LinearMouse has been particularly useful for extending the life of my mouse despite its broken scroll functionality. I’d be happy to provide additional information, logs, or screen recordings if that would help with debugging.
Activity
Fix Auto Scroll drag activation over clickable elements (linearmouse#…
Fix AutoScroll accessibility hit-test latency and reliability (#1350)