johndbritton / teleport

Virtual KVM for macOS
GNU General Public License v2.0
791 stars 132 forks source link

"Two-finger swipe between pages" gesture not working when host is a laptop and client is a desktop #139

Closed h1psta closed 1 month ago

h1psta commented 1 month ago

Bug report

What you were trying to do (and why)

I was trying to use my Mojave MBA 2014's trackpad on my iMac running Ventura.

What happened (include any debug output)

Two-finger "Swipe between pages" does not work on any browser or app. (three finger does, curiously)

What you expected to happen

I expected to be able to use two-finger navigation in browsers.

Step-by-step reproduction instructions

Try controlling a desktop computer via a laptop.

Environment information

Server (Mac with keyboard and pointing device)

Also tried it from another MacBook Pro running Monterrey , same effect.

Client (Mac being remotely controlled)

h1psta commented 1 month ago

I also tried copying .plist files (bothe touchpad and bluetooth touchpad ) from a Sonoma laptop which supported receiving 2-finger gesture onto the troubling iMac. After copying the .plist files in ~/Library/Preferences I locked them to prevent modifications.

Still no luck...

h1psta commented 1 month ago

solved by typing this into the terminal:

defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true

johndbritton commented 1 month ago

Thanks for submitting this issue and solution, hopefully others will find it useful. If there's a way to fix this in the application, I'd happily merge a pull request with a fix.

h1psta commented 1 month ago

It might be caused by Logi Options software by Logitech or it may be that apple disables navigation with scrolls by default on some machines/OS combinations.

I am not sure how I would integrate it but I guess the fix be to just execute the above command upon running the app