I have several Floating Menus that are app specific. When a designated app is focused, I can trigger its Floating Menu via a hotkey. I have enabled "Close When Clicking Outside" for these menus. However, I found that when I click on other areas within the same app, the Floating Menu does not close. It only closes when I click outside the app itself (for example, on the desktop). I believe the expected behavior should be that the menu closes whenever I click outside the Floating Menu area itself, regardless of whether the click is inside or outside the app.
Screenshots
Device information:
- Type of Mac: Macbook Pro M4 pro
- macOS version: 26.3.1
- BetterTouchTool version: 6.222
Additional information (e.g. crash logs, related issues, etc.):
Additional Information:
I think the reason why the Floating Menu closes when clicking outside the app is because the menu is app-specific, so when the app loses focus, the Floating Menu automatically closes. Anyway, I think the current logic for "Close When Clicking Outside of Floating Menu" is incorrect.
yes I should probably rename it to "close on app focus change" or something like that. The problem is that recognizing outside-clicks requires click monitoring, which is usually overkill (resource / performance wise), that's why it assumes an outside click as soon as a different app than BTT is focused (this is cheap to monitor).
Maybe I'll add a real outside click monitoring option soon.
But on the other hand, since the Floating Menu is app-specific, even if I don’t enable "Close When Clicking Outside", the Floating Menu will still close if I click outside the app. This means that the "Close When Clicking Outside" option doesn’t actually have any effect for app-specific Floating Menus.
it does, the thing it watches for is the change of focus from the floating menu (BTT) to some other app (the specific one). The only case where it does not close if your outside-click is on some part of BTT's UI
I’ve recorded a video to demonstrate the issue. Even with 'Close When Clicking Outside' enabled, the Floating Menu remains open when clicking other areas within the same app. Is this the intended behavior? It only seems to close when clicking completely outside the app (e.g., on the desktop).
I think I might have found what caused this in the latest builds in some configurations. Should be resolved in 6.234
yes, it is fixed, thanks!