[Bug]: two-finger scrolling issues with touchpad
Guidelines
- [X] I have encountered this bug in the latest release of FreeTube.
- [X] I have encountered this bug in the official downloads of FreeTube.
- [X] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
- [X] I have searched the documentation for information that matches the description of the bug I want to file, without success.
- [X] This issue contains only one bug.
Describe the bug
on macOS the direction of two-finger scrolling on a touchpad is reversed
in the FreeTube app settings > Player section, enable
- Scroll Volume Over Video Player
- Scroll Playback Rate Over Video Player
- Skip by Scrolling Over Video Player (after disabling "Scroll Volume Over Video Player")
in macOS Settings > Trackpad > Scroll direction is set to "Natural" (this is the default)
on macOS, the scrolling sensitivity is too high
- for "Scroll Volume Over Video Player" currently I can go from 0% to 100% volume by moving my fingers about 5mm
- for "Skip by Scrolling Over Video Player" it is also too high
Expected Behavior
Scrolling direction
the two-finger scrolling behavior should be:
- two-fingers move up to increase volume (down to decrease)
- holding the Command key + two-fingers move up to increase playback rate (down to decrease)
- two-fingers move left to scroll backwards in video (right to scroll forwards)
currently FreeTube uses the opposite directions for these actions
Scrolling rate
- lowered sensitivity (maybe 5 to 10x lower)
Issue Labels
usability issue
FreeTube Version
0.22.1
Operating System Version
macOS 11
Installation Method
.dmg
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
No response
Nightly Build
- [ ] I have encountered this bug in the latest nightly build.
See if you want to test https://github.com/FreeTubeApp/FreeTube/pull/6666 Custom build in reply
See if you want to test #6666 Custom build in reply
I haven't tested your custom build, but it seems it just fixes the scrolling rate and not the wrong direction (see Expected Behavior > Scrolling direction from the top post opening this issue)
For mouse wheel (or any scrolling event), when scrolling down, event.deltaY value is positive
Then FT decrease/rewind the volume/playrate/progress
Scroll up = increase/forward
For whatever direction setting for trackpad/wheel, FT is only able to read event values and use that to decide the direction
you could just add a "reverse scrolling direction" just for those 3 settings in the FreeTube app settings > Player section
- Scroll Volume Over Video Player
- Scroll Playback Rate Over Video Player
- Skip by Scrolling Over Video Player
When possible please try the custom build.
the custom build works much better, the scrolling rate/speed is perfect.
Apart from that, there is a a bit of rubber-banding feeling with the scrolling (like I could scroll the volume from 50% to 100%, but it will settle on 95%), and also it doesn't always scroll smoothly, but that's not a major issue