Context menu item doesn't trigger or crashes btt

Describe the bug
I have mapped left click red window button to trigger context menu item

For "Close" i have set to close window under cursor and "Quit" for quit app under cursor.

Now when i click close, nothing happens (intended behaviour should close the window) and when i click quit, bettertouchtool quits or crashes instead of quitting app under cursor. Please look into this. Try it on other apps like Activity Monitor, Terminal, VS Code, etc.


Device information:

  • Type of Mac: MacBook Air M2
  • macOS version: 15.2 Beta (24C5079e)
  • BetterTouchTool version: 4.839

the problem is that in this case the context menu might still be the hovered app. (it takes a few milliseconds for it to hide). As the context menu belongs to BTT, this will apply the action to BTT.

You can add a small delay before you action, then it should work

Thank you! Works on every other app except btt itself

Can you change it to not take focus? Like theres an option in Maccy(clipboard manager app) to not take focus when it is activated, feels more seamless and might also fix this problem.

no that is not possible, context menus need focus to work. You could use a floating menu instead, these don't capture focus by default.

damn tysm! floating menus is impressive!