Skip to content

Menu bar items shows blank icons and loses third-party items on macOS 27 #372

Closed

Description

@M4n0x

What happens

On macOS 27.2, the Menu bar items row (menuBarItems) shows a few grey menubar.rectangle placeholders instead of the items in the menu bar:

  • Every icon is the fallback symbol, because the items carry no identifier and belong to a process without an app icon.
  • Third-party items (Docker, Raycast, Shottr…) are missing; on one Mac the row showed 6 placeholders for 19 items.
  • Clicking a placeholder presses a wrapper view that has no press action, so nothing opens.
  • The Control Center widget (controlCenter) no longer finds Control Center's item, so clicking it does nothing.
  • Items chosen for the bar by app and item, such as {"app": "com.apple.controlcenter", "item": "com.apple.menuextra.wifi"} (Choose which menu bar items show on the bar and which stay in Menu bar items #355), no longer match.

Steps to reproduce

  1. On macOS 27.2, add a Menu bar items widget and allow StableBar in System Settings → Privacy & Security → Accessibility.
  2. Open the row.

Expected

The row shows each item with its app's icon or its symbol, as on macOS 26, and clicking an item opens it.

Environment

  • StableBar 0.9.0-beta.20261028122139.475, main at 5005ae5
  • macOS 27.2 (26B123), a built-in display with a notch and an external display

Evidence

Read through Accessibility on macOS 27.2:

  • Apps no longer answer AXExtrasMenuBar (kAXErrorNoValue). Only MenuBarAgent (com.apple.MenuBarAgent, /System/Library/CoreServices/MenuBarAgent.app) does, and its list holds only macOS's own items, each wrapped in an AXGroup (subrole AXHostingView) with no identifier, description or press action.
  • MenuBarAgent has one AXWindow per display. Each slot in it is an AXGroup holding either a hosting view around macOS's AXMenuBarItem (identifier com.apple.menuextra.*, description, AXPress) or the owning app's AXButton (the app's pid, AXPress, no AXMenu child). Only the active display's window resolves app buttons; the other holds AXApplication placeholders.
  • Search belongs to Siri (com.apple.campo).
  • With the menu bar hidden, pressing Control Center and Battery through Accessibility opens their panels, which Control Centre (com.apple.controlcenter) still owns.

Diagnosis

  • readMenuBarItems (Sources/StableBar/AppMenu.swift:199) reads kAXExtrasMenuBarAttribute from each running app (:214). On macOS 27 only MenuBarAgent answers, with its wrapper groups, so the row gets MenuBarAgent's few items without identifiers and draws the fallback symbol for each.
  • openControlCenter() (Sources/StableBar/AppMenu.swift:187) looks for com.apple.menuextra.controlcenter in Control Centre's own list, which is gone.
  • pressUnlessOpen checks the item owner's windows for an open panel; on macOS 27 macOS's items belong to MenuBarAgent while their panels belong to Control Centre.

A fix reads the items from MenuBarAgent's windows when they hold any, keeps macOS's items under Control Centre so existing references and symbols still match, and keeps the per-app reading for macOS 26 and earlier.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    bug
    on Oct 28, 2026
  2. stablebar-releases commented on Oct 29, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.9.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    bugreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions