jitouch icon indicating copy to clipboard operation
jitouch copied to clipboard

monterey 12.3, cursor jumps while typing with three-finger tap enabled

Open lottetap opened this issue 2 years ago • 5 comments

I'm currently using monterey 12.3 although this issue existed for me on 12.2 as well. I'm on a macbook pro 14" using just the trackpad. I currently only utilize the three-finger tap -> middle click gesture.

With this enabled, when I'm typing in some apps - namely VSCode, the cursor will jump while typing. My suspicion is that there is some kind of conflict with palm rejection. I tried turning off the middle click gesture and enabling the other gestures instead and the problem goes away. The problem also goes away if I completely disable Jitouch. I've also seen the problem when coding in a Chrome browser window of leetcode.

What's interesting is that on Notes, when typing I can see the cursor blink on another spot on the screen but the cursor does not move away from the intended spot. Again this only occurs when I have the three-finger tap enabled.

lottetap avatar Mar 16 '22 02:03 lottetap

Having jump issues as well, inadvertent click

gregmichael avatar May 09 '22 20:05 gregmichael

I think these jump/lag issues are related (#20). There could be a hang within a callback function in an EventTap. I've found with #5 that an extended hang causes UI issues where the cursor looks like it moves but internally it hasn't moved, and it resets to a single spot every so often. I have an idea on how to fix #20 and perhaps that will fix this issue as well.

However, I can't get this issue to reproduce in VSCode - my cursor just hides when I'm typing, three-finger-tap enabled or not. Is there a procedure I can try to reproduce this?

aaronkollasch avatar May 10 '22 14:05 aaronkollasch

I do think better palm rejection may be necessary, as this program was written when the trackpad was much smaller. I've experienced some jumping or inadvertent gestures when typing, sometimes when my palm just grazes the trackpad – but it is hard to reproduce.

aaronkollasch avatar May 11 '22 23:05 aaronkollasch

Have you tried the latest beta release? (https://github.com/aaronkollasch/jitouch/releases/tag/v2.82-beta.2) Compared to March, it includes two fixes (#22, #33) that may also fix the inadvertent clicks and mouse jumps (due to left-click being held down incorrectly) you've observed.

aaronkollasch avatar Aug 31 '22 03:08 aaronkollasch

For anyone looking for 3-finger middle-click on Magic Mouse, there are other options too:

  • I have been using MiddleClick-Ventura for this so far (Objective-C)
  • @iaurman mentioned that PinchBar (Swift) also has this option in https://github.com/noah-nuebling/mac-mouse-fix/issues/308#issuecomment-1689318891

karlhorky avatar Sep 27 '23 14:09 karlhorky