Mouse-up does not trigger on Custom Context Menu

Hello Andreas, I am trying to implement the right click behavior from your excellent circular floating menu tutorial, but for a custom context menu instead. Specifically I would like:

  1. Hold down right click to open a custom context menu
  2. Hover over an item and release right click to select that item.

The first few steps work, but releasing right click does not trigger the hovered item in the custom context menu. In fact, it does not appear to trigger the configured BTT action at all. It appears that once a mousedown trigger opens a custom context menu, then no mouseup triggers will activate until that custom context menu is closed.

To reproduce, here are the 3 Normal Mouse triggers and actions I created:

  1. Trigger: Rightclick, Conditions: Trigger on Mouse Down, min hold time 0.3, Action: custom context menu
  2. Trigger: Rightclick, Conditions: Trigger on Mouse Up, max hold time 0.3, Action: right click. (For blocking initial right click input when holding down to trigger context menu).
  3. Trigger: Rightclick, Conditions: Trigger on Mouse Up, min hold time 0.3, max hold time 1.0, Action: right click. This is the one that never triggers when a custom context menu is open, verified by testing with “Show HUD” and triggering while the custom context menu trigger is disabled.

Here’s my exported triggers as well. In these I’m triggering the custom context menu via a Named Trigger, but I’ve found that doesn’t make a difference for this bug.

exported_triggers.bttpreset (2.6 KB)

Thank you for your attention and this excellent software!

unfortunately this is not possible, system context menus don’t allow for such behavior

Curiously, it does work as expected if I only have the custom context menu trigger (#1 above), and not #2 (input blocker) or #3 (trigger on release). I can hold right click, the custom context menu pops up, and then I can hold to trigger the hovered item. With the big caveat that it sends an initial undesired right click input.

Frustrating because it’s so close to working how I want! But I understand if you are at the mercy of macOS limitations. Is it because after triggering a custom context menu, BTT cannot detect a mouseup event until the context menu is closed?

correct, system context menus are quite special on macOS and basically block BTT's event recognition while open. I'm not quite sure whether there are good workarounds but maybe it's worth looking into again (haven't tried for some years)