Repository navigation
Description
Environment
- macOS 27.0 Golden Gate (26A428)
- Hidden Bar 1.11.1, direct download build (
NativeVisibilityEngine)
Summary
On macOS 27 the direct build hides icons through MBAssessmentModeAssertion from the private MenuBarClientCore framework (the menu-bar part of assessment/exam mode). While that assertion is active (arrow collapsed), macOS also applies other assessment-mode restrictions that Hidden Bar cannot opt out of:
| While collapsed | Result |
|---|---|
| Clicking the clock to open Notification Center | ❌ Nothing happens (the clock stays visible but inert) |
| Notification Center via two-finger swipe from the trackpad edge | ✅ Works |
| Now Playing, Live Activities | ❌ Hidden |
| Microphone-in-use and screen-recording indicators | ❌ Hidden |
| Control Center, Wi-Fi, Bluetooth, Sound, Apple menu, app menus, Spotlight/screenshot shortcuts | ✅ Work |
Expanding the arrow releases the assertion and everything is back to normal.
Steps to reproduce
- macOS 27, direct build, Accessibility permission granted.
- Start playing music (e.g. Spotify) so Now Playing appears in the menu bar.
- Collapse the arrow.
- Click the clock → Notification Center does not open. Now Playing is gone.
Why this looks like an OS-level policy, not a Hidden Bar bug
MBAssessmentModeConfiguration only exposes allowedSystemItems and allowedBundleIdentifiers (checked via the ObjC runtime on 27.0), so there is no option for Notification Center or activity indicators.
I wrote a standalone test program that calls activateWithConfiguration:completionHandler: directly (8 s each, then invalidate), with Now Playing visible via Spotify:
| # | allowedSystemItems | allowedBundleIdentifiers | Now Playing |
|---|---|---|---|
| 1 | 0..<64 (as Hidden Bar) | none | hidden |
| 2 | 0..<64 | com.apple.controlcenter, com.apple.MenuBarAgent, com.apple.systemuiserver |
hidden |
| 3 | 0..<1024 | none | hidden |
| 4 | 0..<1024 | the three system bundles above | hidden |
| 5 | 0..<64 | com.spotify.client |
hidden |
| 6 | 0..<1024 | system bundles + every running app | hidden (all other icons stay visible) |
No errors were returned. Even with everything allowed (test 6), Now Playing is hidden, so macOS removes it as part of assessment mode no matter what the allow-list says.
Minimal repro (Objective-C)
dlopen("/System/Library/PrivateFrameworks/MenuBarClientCore.framework/MenuBarClientCore", RTLD_NOW);
id config = ((id (*)(id, SEL, NSArray *, NSArray *))objc_msgSend)(
[NSClassFromString(@"MBAssessmentModeConfiguration") alloc],
@selector(initWithAllowedSystemItems:allowedBundleIdentifiers:),
systemItems, bundleIdentifiers);
id assertion = [[NSClassFromString(@"MBAssessmentModeAssertion") alloc] init];
((void (*)(id, SEL, id, void (^)(NSError *)))objc_msgSend)(
assertion, @selector(activateWithConfiguration:completionHandler:), config,
^(NSError *error) { /* active: observe the menu bar, then call -invalidate */ });Impact
- The microphone and screen-recording indicators are privacy features. Hiding them while collapsed means users can't tell whether something is recording them.
- Clicking the clock to open Notification Center is a common action and fails silently.
Possible directions
- Document these limitations in the manual / release notes for macOS 27.
- Look for a mechanism other than assessment mode.
MenuBarClientCorealso containsVisibilityRestrictionAssertion(it has anallowListivar andMBAssessmentModeAssertionseems to wrap anassertion), but it is a Swift-only class with no usable ObjC API, so I could not test it.
Activity
khallmark commentedon Sep 26, 2026
Found this same issue. Wonder if Opus can fix it. Just gave it access to Ghidra.
khallmark commentedon Sep 26, 2026
Thanks for the detailed report and the repro. It made this quick to confirm. I reproduced it on 27.0 (26A428) and looked at what MenuBarAgent does with the request.
Why there's no opt-out.
MBAssessmentModeAssertionsendsacquireAssertionWithID:origin:allowedSystemItems:allowedBundleIdentifiers:to MenuBarAgent (com.apple.MenuBarAgent.visibility-restriction) with origin1(assessmentMode). MenuBarAgent combines the origins of all live restrictions and applies the matching mode on top of the allow-list. I sent the same allow-list under the other two origins it knows:0userSessionTransition1assessmentMode2campoDragVisibilityRestrictionError.activation)So no origin gives the allow-list without assessment mode. Your test 6 already shows that no allow-list keeps Now Playing. For the record,
0..<64resolves to just 9 named system items: battery, bluetooth, clock, displays, keyboard, volume, wifi, screenMirroring, primaryBentoBox. The clock is owned by MenuBarAgent and exposes no Accessibility actions, so it can't be pressed on the user's behalf either.On the privacy indicators, a refinement. While collapsed, the menu-bar capsule that names the recording app is hidden. In my test that was the orange mic capsule. The small colored dot in the top-right corner of the screen stayed visible (orange for the mic, green for the camera).
Proposed fix (not in a release yet):
If Apple adds a non-assessment origin or a public API, native hiding can switch to it.
khallmark commentedon Sep 26, 2026
Honestly I think this is a bug we should report to Apple.
fabioconte22 commentedon Sep 26, 2026
I agree
khallmark commentedon Sep 26, 2026
Reported to apple with id FB24954202
fix(macos27): show the whole bar while a mic or camera is in use
release: v1.11.2 macOS 27 fixes (#468)