🤷‍♀️ "Prevent recursive trigger" setting for a shortcut keeps resetting to 'enabled'

Hello, Andreas!

I'm using BTT with the video player iina to trigger an action each time I skip around using arrow keys with or without modifier keys (it does not matter for the following, but the use case is to move the cursor inside the frame so that it would make the progress bar appear letting me know where I am within the timeline).

The problem is that I am trying to set up the shortcuts so that they would trigger repeatedly as long as the given key combination is being held down: I press and hold the '→' button, the video keeps skipping forward.

The thing works perfectly with key combos. Opt/Shift+'←'/'→'. I just untick the "Prevent recursive trigger" setting and tick the "Repeat assigned action". Perfect.

But. For the simplest '←'/'→' shortcuts — it keeps resetting the "Prevent recursive trigger" tick to 'enabled' in the background.

It's the weirdest thing. I would set everything up. Untick "Prevent recursive trigger". Close the configuration window, or leave it. Switch to the iina player. Try the shortcuts: '←'/'→'. It would work fine, just as intended. But after a minute or so — it would stop triggering repeatedly. I'd then go back to configuration — to find out the "Prevent recursive trigger" setting has been ticked back on, to 'enabled'.

Again. The same shortcut, the same set of actions, copied and pasted, only differing in the used key combinations, set to repeat continuously, — is triggered perfectly fine when used with modifier keys: Opt/Shift+'←'/'→'. And keeps resetting the continuous triggering option off when used with just the arrow keys, '←'/'→'.

It's the weirdest thing, and it would be of greatest help if you could look into this.

Thank you so much for your work!

The trigger in question:

[
  {
    "BTTActionCategory" : 0,
    "BTTLastUpdatedAt" : 1722299498.183512,
    "BTTTriggerType" : 0,
    "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
    "BTTUUID" : "3A72F37E-0BAD-44E1-ABEE-1562A6A26611",
    "BTTPredefinedActionType" : 366,
    "BTTPredefinedActionName" : "Empty Placeholder",
    "BTTAdditionalConfiguration" : "8388608",
    "BTTKeyboardShortcutScope" : 0,
    "BTTKeyboardShortcutKeyboardType" : 2414,
    "BTTRepeatRate" : 0.10000000149011612,
    "BTTRepeatDelay" : 0.10000000149011612,
    "BTTTriggerOnDown" : 1,
    "BTTLayoutIndependentChar" : "RIGHT",
    "BTTEnabled" : 1,
    "BTTEnabled2" : 1,
    "BTTShortcutKeyCode" : 124,
    "BTTShortcutModifierKeys" : 8388608,
    "BTTOrder" : 3,
    "BTTAutoAdaptToKeyboardLayout" : 0,
    "BTTAdditionalActions" : [
      {
        "BTTActionCategory" : 0,
        "BTTLastUpdatedAt" : 1722260959.529254,
        "BTTTriggerParentUUID" : "3A72F37E-0BAD-44E1-ABEE-1562A6A26611",
        "BTTIsPureAction" : true,
        "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
        "BTTUUID" : "A0D9016B-F4F2-4272-9323-E76642FDE516",
        "BTTLayoutIndependentActionChar" : "RIGHT",
        "BTTShortcutToSend" : "124",
        "BTTKeyboardShortcutKeyboardType" : 0,
        "BTTEnabled" : 1,
        "BTTEnabled2" : 1,
        "BTTShortcutKeyCode" : -1,
        "BTTOrder" : 0,
        "BTTAutoAdaptToKeyboardLayout" : 0
      },
      {
        "BTTActionCategory" : 0,
        "BTTLastUpdatedAt" : 1722260929.4555941,
        "BTTTriggerParentUUID" : "3A72F37E-0BAD-44E1-ABEE-1562A6A26611",
        "BTTIsPureAction" : true,
        "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
        "BTTUUID" : "A27C1AC2-5685-4DDE-BE3D-3955B9942C0C",
        "BTTPredefinedActionType" : 153,
        "BTTPredefinedActionName" : "Move Mouse To Position",
        "BTTAdditionalActionData" : {
          "BTTMouseMoveX" : 99.900001525878906,
          "BTTMouseMoveAnchor" : 1,
          "BTTMouseMoveUnitX" : 1,
          "BTTMouseMoveY" : -90,
          "BTTMouseMoveUnitY" : 1
        },
        "BTTKeyboardShortcutKeyboardType" : 0,
        "BTTEnabled" : 1,
        "BTTEnabled2" : 1,
        "BTTShortcutKeyCode" : -1,
        "BTTOrder" : 5,
        "BTTAutoAdaptToKeyboardLayout" : 0
      }
    ],
    "BTTTriggerConfig" : {
      "BTTKeyboardPreventRecursiveTriggers" : 1
    }
  }
]

if BTT detects a setup that would lead to a system freeze it will automatically enable this option.

In this case it would lead to an endless loop of BTT triggering itself because BTT is listening to the arrow key and it is sending the arrow key

1 Like

To workaroud this, you could enable this option:

1 Like

Thank you so much, Andreas! Works perfectly now.

1 Like