luisbocanegra / plasma-panel-spacer-extended

Spacer with Mouse gestures for the KDE Plasma Panel featuring Latte Dock/Gnome/Unity drag window gesture. Run any shortcut, command, application or URL/file with up to ten configurable mouse actions.
https://store.kde.org/p/2128047
72 stars 1 forks source link

Scroll Sensitivity #30

Closed PapierFliegr closed 4 months ago

PapierFliegr commented 5 months ago

Installed Version: 1.6.1 via "Add Widgets" Device: Logitech MX Master 3

I am using the Mouse Scroll Action to switch Virtual Desktops. It seems like the threshold to trigger the action with the mouse is below one notch of the mousewheel. Thus I often switch two virtual desktops with one Scrollaction.

Feature Request: Manually set the threshold to trigger the WheelUp/WheelDown Action.

luisbocanegra commented 5 months ago

It's even crazier with my laptop's touchpad, I can go through all the desktops with a very small movement. Will look into this soon.

luisbocanegra commented 4 months ago

https://github.com/luisbocanegra/plasma-panel-spacer-extended/issues/22#issuecomment-2111491453

Was trying to reproduce the maximized thing and to detect the input device for wheel events (so there can be different thresholds for touchpad and mouse) for https://github.com/luisbocanegra/plasma-panel-spacer-extended/issues/30, but the device was always touchpad even when using mouse wheel. So I decided to try with X11 and the device type does change there (probably Qt6 bug).

Added configuration option to increase the scrolling threshold, it is applied to all devices until the above bug is fixed. Testing with my laptop's touchpad it's not perfect but at least is usable now. Can you please test with your mouse?

PapierFliegr commented 4 months ago

Will do on saturday :)

PapierFliegr commented 4 months ago

Sorry, for the late reply... forgot to do it...

So the default setting of 120 already improved the scrolling and seems like the perfect value for me, but that's somehow curios. It looks like 120 is the minimal setting. I tried setting the value to lower than 120 but that was accepted. For higher values it works as intended.

luisbocanegra commented 4 months ago

Minimum is 1 now. Thanks for testing