Skip to content

macOS 27: Allow hiding individual icons from apps with multiple menu items #427

Closed as not planned

Description

@shresthkapoor7

I use Stats to display CPU, RAM, and SSD separately. Before macOS 27, I could keep SSD visible while hiding CPU and RAM with Hidden Bar.

With Hidden Bar 1.11.1, keeping any Stats icon visible keeps all of them visible.

I understand #403 introduced app-level hiding to support macOS 27. Is there a possible path to restoring per-icon control? This was useful for apps like Stats.

Happy to help test if there’s an approach worth exploring.

Image Image Image

Activity

  1. brechtm commented on Nov 5, 2026

    @brechtm

    Adding a measured case of the inverse direction, which I hit today. It confirms the bundle-level min rule and the user-facing surprise it creates.

    Setup: Hammerspoon owns two status items. Expanded (arrow mid x = 1339):

    org.hammerspoon.Hammerspoon   mid x = 1206.0   hidden section
    org.hammerspoon.Hammerspoon   mid x = 1383.0   visible section
    

    MenuBarLayoutResolver.resolve reduces the bundle with min (most visible wins), so org.hammerspoon.Hammerspoon is classified visible and both items are allow-listed.

    Observed while collapsed: both Hammerspoon icons are on screen — including the one the user ⌘-dragged into the hidden section (mid 1206, left of the divider). Every other item on the hidden side is hidden correctly. So the user sets up "hide this one", and it stays visible because a sibling of the same bundle sits on the visible side, with no indication why.

    This matches your clarification, and I agree min → max would not help: it would just flip which side is betrayed.

    Workaround (worth documenting): ⌘-drag every item of that bundle to the left of the arrow. Once no sibling is on the visible side the whole bundle hides, and macOS remembers the placement per item. In my case that means moving the second Hammerspoon item, which had been left on the visible side.

    Documentation ask — docs/MANUAL.md currently says "icons to the separator's left are hidden when collapsed", which is no longer true on macOS 27 when a sibling item of the same bundle is on the visible side. A one-line caveat under "Why new icons start hidden" ("hiding is per app: if any item of an app is right of the arrow, all of its items stay visible") would have saved me the debugging.

    Environment: macOS 27.2 (26B123), Hidden Bar 1.11.1 (build 16), direct build, Accessibility granted. Reported the related "owner without a bundle identifier" case separately in #465.

  2. tieubao commented on Nov 15, 2026

    @tieubao
    Contributor

    Thanks for the idea. macOS 27 lets apps allow or hide menu bar items by app, not by individual icon. Hidden Bar therefore cannot hide one icon of an app that has several, and the most visible one decides for the whole app (that is also why all Hammerspoon items stay visible together). This is documented in the manual. Closing as not planned, since this is a macOS 27 limit rather than something Hidden Bar can change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions