Execute Script/Terminal Command gets overwritten randomly

Describe the bug

When adding "Execute Terminal Command" actions to different triggers, at some point same value which was viewed/edited as last one is then used for other ones as well. They get overwritten and all (or almost all) use the same one. It happens with other similar actions too (Execute Shell Script at least). Sometimes I encounter it with just 2 triggers (first video), sometimes it takes more updates (second video).


Screenshots



Device information:

  • Type of Mac: MacBook Pro M1 Pro
  • macOS version: 15.3.2
  • BetterTouchTool version: 5.289 (alpha) - same happening for latest stable version

do you maybe have the experimental dropbox or icloud sync enabled?

No, I turned it off long time ago hoping to solve random issue with BTT being disabled sometimes (usually after waking up from sleep) but it didn't help :slight_smile:

unfortunately if BTT disables itself after sleep that hints at some data corruption issue that might have been caused by the experimental sync.

I‘ll check tomorrow whether I can reproduce your issue, but I have many scripts and have not experienced it before.

Yes, that's why I disabled it since people/you suggested sync might be the issue but it's still sometimes happening and I'm not sure why, it says "disabled see below" but there is nothing below :slight_smile:

I also added trigger to restart BTT after wake up but that also somehow doesn't work but didn't have time to investigate whether it's the trigger or something else. I have one other "After Mac Wakes From Sleep" trigger which restarts one Docker container but I noticed it's not executing since some time, should it be executed as soon as I put OS to sleep or only when it's asleep for some time (for example when it asks me for login/password which it doens't do if I wake up it shortly after)?

I updated to latest 5.294 version and so far it seems I can't replicate the issue anymore :+1: