Menubar Item order Preservation Options

Right now, the implementation of custom menubar either uses a custom floating menu, or a button to hide and show the menubar with some basic features like "Click X menubar item" or "Search for Menubar item"

For those of us who don't want to use a custom floating menu, the menubar features are still lacking. "Click X" brings a feature that a lot of menubar systems lack, but to do so it reorders the item to the far right of the menubar. If this is a necessary means of implementing this feature, then one or more of the followup featureset needs to be implemented:

  • "Move Menubar Item" action that targets "Last Clicked"
  • "Click Menubar Item" action has a toggle for "preserve item ordering" to keep it from being moved, or to move it back when it's clicked off
  • "Search for Menubar Item" can easily put the menubar item found into a variable for later manipulation

As it stands, if you want a quick and simple menubar management in the form of "Hide everything to the left of this icon" + Searching or Hotkeys to click items, you break your ordering and can't get it back without manual rearrangement.

unfortunately Apple makes this really hard.

The feature relies on undocumented behavior (not private API but sending specially crafted magical mouse events to the items) and is really hard to manage. Items need to be visible in order to be clicked, but can not be moved back until the menu that belongs to them has closed, and unfortunately tracking all of this is really hard.

BTT already uses a timer to move back items automatically, but this doesn't always work.

However Apple has completely broken the feature with macOS Tahoe anyways :joy: (Luckily at least the current features I can make compatible with Tahoe)

However this should not change the order of your items if you use the predefined action "Show / Hide Menu Bar Icons Left Of Specific Icon"

Wow! Thank you for the immediate response.

However this should not change the order of your items if you use the predefined action "Show / Hide Menu Bar Icons Left Of Specific Icon"

You're right about this, sorry I wasn't clear. I meant specifically if you want to build a "custom menubar hiding/managing workflow" using that as the star feature, as opposed to using the floating menu option that BTT already offers, then the menubar movement stuff doesn't work as well.

I hear you on the other points you made, that Apple makes this hard to work with. Would it be plausible for the "Search Menu Status Items" option to store or followup on that Status item in some way? That way I can use that in combination with the move action to just move it back to the left after X time once I'm done with it.

yes, I‘ll add some variables to store the last interacted items and allow using them in the move actions. I think that is a good idea.

The good thing is I have been working on Tahoe compatibility for this feature the whole day, so I‘m still in the flow :joy: