Advanced triggers not triggering first time

Version 4.645 alpha, and rebooted

Following on from my previous bug report.

I've been using the advanced tigger condition mentioned in the previous solution, fingers_touching_trackpad == 0 for a few days and found that sometimes (2-3 times a day, possibly more common after coming back to the laptop and unlocking) a touchpad right click is still intercepted as a normal-mouse right click. The second attempt always works.

I've also tried fingers_touching_trackpad == 0 AND currently_pressed_mouse_buttons > "0" but this doesn't appear to resolve the issue.

Do you have any advice, please?
Thank you.

MacBook Trackpad, Normal Mouse

Device information:

  • Type of Mac: M3 Pro
  • macOS version: Sonoma 14.6
  • BetterTouchTool version: 4.645

It might be possible that the system is under too heavy load in some situations. If that happens, the system might ignore the event processing apps like BTT and instead handle the events itself.

You can try two things

Hi @Andreas_Hegenberg , I've tried the suggestions, first 1. then both 1. and 2. and I'm still getting the issue.

I'm on a very lightly loaded M3 Pro, 90%+ idle.

It's somewhat consistent that if I lock and close the laptop and then come back to it, after lunch, after getting home etc, right click on the touchpad always triggers the normal mouse action first time.

Happy to help debug by sending anything you need.

Thanks.

there is a small amount of time after waking from sleep that BTT needs to reinitialize, but it’s usually not very noticeable (should be less than 5 seconds after wake)

Are you trying to trigger something right after sleep?

Definitely not. It's at least 5 minutes on occasion.

Hi @Andreas_Hegenberg

I can reliably reproduce this issue every time by quitting BTT, starting it, waiting 30 seconds, and performing the two finger click. The first click is always intercepted as a normal-mouse trigger, despite the advanced conditions.

thanks for the details! I'll look into it, maybe something doesn't get initialized correctly before it's being used

1 Like

Hi,
Politely checking in - very happy to provide debug logs etc. It's 100% reproducible in 4.672

Hi @Andreas_Hegenberg politely check in again. Getting this multiple times per day for months is becoming quite tiresome.

unfortunately I have no idea what could cause this. I have tried to reproduce it here but was unable to so far.

4.739 alpha (uploading now) adds a hidden setting that might workaround your issue. This terminal command (while BTT is quit) will make BTT ignore all mouse triggers from touch devices:

defaults write com.hegenberg.BetterTouchTool BTTMouseTriggersOnlyFromNormalMice YES

4.741 alpha, with the defaults set fixed the issue! Woohoo!

Thank you so much, peace is restored to my touchpad :grin: