Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horizontal swipes are sometimes detected as vertical #4043

Closed
katzelad opened this issue Jan 1, 2025 · 1 comment
Closed

Horizontal swipes are sometimes detected as vertical #4043

katzelad opened this issue Jan 1, 2025 · 1 comment
Labels
bug Something isn't working unactionable Further action is not possible due to lack of information or support

Comments

@katzelad
Copy link

katzelad commented Jan 1, 2025

Describe the bug

I tried to use 3 finger vertical swipes to switch apps, and I use 3 finger horizontal swipes to navigate back/forward. The horizontal swipes are detected as vertical when there is a slight tilt, I think it would be good to check the angle of the swipe in addition to the distance.

Steps to reproduce the bug

  1. Set gesture to three finger vertical swipe
  2. Make some natural three finger horizontal swipes
  3. Some of them trigger the app switcher

Your environment

  • AltTab version: 7.14.0
  • macOS version: Sonoma
@katzelad katzelad added the bug Something isn't working label Jan 1, 2025
@lwouis
Copy link
Owner

lwouis commented Jan 2, 2025

Hi,

The native app-switcher also allows some leeway in the gesture. If you think about it, only robots would be able to swipe perfectly on one axis. Thus some leeway is always required. Now the question is how much leeway is too much?

I've tested the native switcher, and tuned the amount of acceptable motion in the other axis to match. There is also a feature that after you move too far in the other axis, it will refuse any swipe until you release your fingers and try again.

I'm afraid I can't tune things better. It's a tradeoff between not recognizing the swipe because the leeway is too small, and people are not machines so they will always not make perfect lines; and between recognizing swipes on motions that are barely going in the correct axis.

I've tuned to mimic the native app switcher as much as I could.

Thank you 🙇

@lwouis lwouis closed this as completed Jan 2, 2025
@lwouis lwouis added the unactionable Further action is not possible due to lack of information or support label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unactionable Further action is not possible due to lack of information or support
Projects
None yet
Development

No branches or pull requests

2 participants