Floating Menu Alpha Development Thread

I'll provide a list with all possible properties in the floating menu JSON soon! It's now relatively stable.

BTT Opens when I open Macbook

This setting is disabled :slight_smile:

BTT V 4.168

This is most likely an issue with some third party app or with some macOS configuration which tries to launch BTT while it is already running. You can use the command mentioned there to prevent BTT from opening it's preferences when launched while already running.

1 Like

v4.169 allows to automatically update menu items if their assigned action is a shortcut from the shortcuts app which returns json.

This is useful if you want to for example show the state of the shortcut in a menu


That's amazing !

Doesn't launch BTT Preferences on MacBook Wake-up :white_check_mark:
Problem: it doesn't launch when I launch the app either!
I can't access prefs now :slight_smile:

I ran this

defaults write com.hegenberg.BetterTouchTool BTTDontShowPrefsOnReopen NO

To reverse What I did before to stop it from opening.

With version 4.168 clicking outside the Floating Menu sometimes isn't hiding the window, even though I have that option enabled. It mostly works, though.

can you recognize a pattern on when it doesn't work?

I'll try paying special attention from now on and will report back.

Ok, reproduced. It was as easy as having a Safari window on and calling the floating menu with my key combination and then hiding the floating menu with that combination. After I showed back the floating menu, there was no way to turn it off by clicking outside that menu window. The only way to turn it off was with the key combination. Logs attached.
BetterTouchToolDebug.zip (2.1 MB)

thanks! That should be easy to fix

1 Like

Hey, I’ve been playing around with these a bit, and I have a few questions/requests.

  1. Keyboard Navigation - I’d like arrow key grid navigation specifically, I’ve got this working with the Floating Webviews as seen in the preset I uploaded here. I’m wondering if the same thing will be possible in the Floating Menus? Ideally, I’d like to avoid setting up individual keyboard shortcuts with conditional activation groups as was mentioned here.

  2. Overshooting Buttons - A button keeping focus/hover even when I move the mouse past it, makes it possible to move very fast with the mouse. This would mostly make sense with the buttons on the outer edges of a button grid. I’ve got this working in the Webview preset I linked above, so I’m also wondering if this will be possible in the Floating Menus. (I’ve worked around this for now by having giant buttons that are hard to overshoot as seen in the image/video below. This works pretty well, but I’d rather not have ginormous buttons if at all possible.)

  1. Formatting Options - the ability to change hover color for text, SF Symbols…etc. in the BTT UI.

Keyboard Navigation is the thing I care about the most, I would probably switch to the Floating Menus immediately if it were possible.

Either way these menus are looking extremely promising, I’ll have to experiment some more.

Keyboard Navigation
The problem with keyboard navigation is, Floating Menus usually never get keyboard focus so they don't interfere with the actually active application (unless a textfield or something like it is clicked inside of them). However this is definitely planned and there are a few options (if you can think about any other please let me know):
• Allow keyboard navigation while the mouse hovers the menu
• Allow keyboard navigation once activated via some trigger
• Have an option to gain keyboard focus when showing the menu via an action
• Catch all arrow keys while a floating menu is visible and use them to navigate. If multiple menus are open, it would need some priority setting.

Maybe this can be continued here: Keyboard navigation for floating menus - #6 by little-big-h

Overshooting buttons:
•This should be doable, I'll have a look :wink:

Formatting Options:
• I think I don't want to offer a full text formatting alternative for hover, but I can offer a hover color that then applies to the entire text
• Hover color for SFSymbols will be added with the next version

1 Like

Nice, good to hear that it’s planned. I think these options you’ve listed would probably cover most of what I’d want to do. I’ll add any of my future keyboard comments to the thread you linked.

I don’t know if you’d consider this keyboard related, but one other thing is:
In my webview preset I found 2/3 finger swipes as arrow keys, to be a nice way of navigating the the button grid. A 2 finger swipe up would be up arrow for example, and when combined with haptic feedback from the trackpad this was a very cool way to navigate the grid.
Adding the option to disable scrolling in the Floating Menus might be helpful for this type of swipe gesture grid navigation. In that case I wouldn’t want my 2 finger swipes to cause the Floating Menu to scroll.


This sounds good to me, I think hover color for text and SF Symbols will be enough for most (possibly all) of the things I’d want to do. Also, being able to do it directly in the BTT UI will feel like a minor miracle compared to editing html/css/javascript with the webviews. Looking forward to it, Thanks!


Any ideas why bard.google.com doesn't render in the webview, btw?

They seem to do some checks based on the user agent and use chrome specific API if they don't detect the 100% matching safari agent. Try to set the Safari User agent in the webview settings:

Mozilla/5.0 (Macintosh; Intel Mac OS X 13_4_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15

I think I'll make this the default.

Amazing, it worked!!

Now the next thing I'd like to have is to be able to define separate User-Agent settings per "item" because I use the "Load new HTML or URL For Web View Menu Item" action to use a separate Web item to load content on button click (same as your browser example).

One more thing - Are you able to "cache" the current state of the floating menu in the sense that I can continue working on the same browser "tab" after I show it (with my keybinding)? I use "Toggle Floating Menu Hidden/Shown". It did work that way before I added my custom "tabs" thing.

What is the way to make this window appear on front only on mouse hover?

can you explain your usecase? Where will your mous be over?

1 Like