Repository navigation
feat(macos27): notice when the system overflow takes the arrow - #488
Merged
Merged
Conversation
tieubao
force-pushed
the
feat/macos27-system-overflow
branch
from
November 15, 2026 18:10
fb589ae to
cf59213
Compare
tieubao
marked this pull request as ready for review
November 15, 2026 18:13
This was referenced Nov 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
macOS 27 adds its own overflow button (
«, drawn by MenuBarAgent) when status items do not fit. On a full bar it can take the Hidden Bar arrow, which then looks like Hidden Bar stopped working. Direct build only: after a user collapse (click or hotkey), Hidden Bar checks whether its arrow went into«and, once, says how to reach it.SystemOverflowIndicator: finds every«(one per display) in MenuBarAgent's Accessibility tree by AXIdentifiermenu-bar-overflow-indicator/-expanded, read off the main thread.isItemInSystemOverflow: an item is in«when its window is parked at (0,-30) with no screen, or its midpoint sits under a«while its window is not occlusion-visible.SystemOverflowNotice: one-time alert, shown outside the dispatch block, only while still collapsed.HIDDENBAR_NATIVE_VISIBILITY).What we learned about the system overflow
NSStatusItem._setOverflowSpecifierPriority:changed nothing.AXPresson the button opens and closes it.Verification
scripts/test.sh: Hidden Bar 303 passed, App Store 210 passed.«appeared, the arrow stayed on the bar, no notice (negative control). The arrow-inside-«case did not reproduce on a 1600pt bar: macOS overflowed the newer filler icons first.Not verified
«on 27.