Skip to content

macOS 27 (1.11.1): iStat Menus hidden when collapsed and ⌘-drag to the right of the arrow does not help #429

Closed

Description

@XianpoNi

Version: Hidden Bar 1.11.1 (direct download, notarized), macOS 27 (Darwin 27.0), MacBook, Accessibility permission granted, running from /Applications.

Problem

When collapsed, iStat Menus disappears completely and ⌘-dragging its icons to the right of the arrow does not bring it back. The "Now Playing" (▶) item is also hidden when collapsed.

iStat Menus 7 shows two icons here (a 60% readout and a pie icon). Both belong to one app (com.bjango.istatmenus.status, an LSUIElement helper; main app is com.bjango.istatmenus). Expanding shows both; collapsing hides both together. It is not a crash: the iStat processes keep running.

Why I think it happens (from reading the 1.11.1 source, not confirmed by a debugger)

On macOS 27 the collapse builds an allow-list of bundle IDs from AccessibilityMenuBarInventory.snapshot and passes only those to NativeVisibilityEngine.activate. Everything not on the list is hidden by macOS.

  1. AccessibilityMenuBarInventory uses messagingTimeout = 0.1 s per app. If an app answers AXExtrasMenuBar late (.cannotComplete), the app gets no entry in the layout at all, so it is never on the allow-list and is hidden no matter where the user drags it. That would match "dragging does nothing".
  2. Hiding is per bundle, so an app with several items is hidden or shown as a whole. That explains both iStat icons vanishing together, but not why dragging does not help.
  3. Whether the allow-list bundle ID has to match the process that owns the item (…istatmenus.status) or the main app (…istatmenus) I could not verify.

Suggested fix

  • Retry with a longer timeout (I used 1.0 s) for apps that time out.
  • If an app is still unreadable, treat it as visible (fail open) instead of leaving it off the allow-list. I prototyped this: MenuBarInventoryItem gets an isUnreadable flag, and MenuBarLayoutResolver.resolve maps it to .visible. It compiles for the two touched files, but I could not test it end to end because a locally re-signed build cannot get the Accessibility permission (TCC code requirement fails with -67050).
  • Log which bundles ended up in each section; the NativeVisibility: NSLog lines did not appear in log show for me, which made this hard to diagnose.

Related

Per-app hiding: #427. OS items hidden: #414.

Workaround

Quit Hidden Bar; all icons return immediately.

Activity

  1. rafawendel commented on Sep 22, 2026

    @rafawendel

    The same happens to pinned MacOS native status icons, such as Do Not Disturb and Media Source.

    For me they are set to the right of the bar, but they only show on expansion

    Screen.Recording.2026-09-21.at.22.46.19.mov
  2. tieubao commented on Nov 15, 2026

    @tieubao
    Contributor

    Fixed in #468 (macOS 27.2, tested on device). It ships in the next release; we will close this then.

    Apps that answer slowly to the accessibility scan (iStat Menus, Little Snitch and similar) are now re-read, and items macOS cannot be asked about count as visible instead of hidden.

  3. tieubao commented on Nov 15, 2026

    @tieubao
    Contributor

    Fixed in v1.11.2: https://github.com/dwarvesf/hidden/releases/tag/v1.11.2 (download, or brew upgrade --cask hiddenbar once Homebrew picks it up). Please reopen if you still see this on 1.11.2.

  4. kennymc-c commented on Nov 15, 2026

    @kennymc-c

    Still happens with 1.11.2

  5. DanielNovak commented on Nov 29, 2026

    @DanielNovak

    Still happening.

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