Repository navigation
feat(macos27): notice when expanding pushes icons into the overflow - #519
Merged
Merged
Conversation
tieubao
force-pushed
the
feat/overflow-notice-expand
branch
from
November 16, 2026 13:13
11b1a2c to
a817ba8
Compare
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
Direct build on macOS 27. After you expand the bar by click or hotkey, if icons that were hidden now sit in macOS's own « button (they do not fit, for example right of the notch), Hidden Bar says so once. PR #488 only covered the collapse case (the arrow itself in «).
Notice: "Some icons are in the « button" / "Some icons do not fit in the menu bar, so macOS moved them into its own « button. Click « to see them. To make room, move icons you rarely use to the always-hidden section." One OK button.
SystemOverflowNoticePolicy.shouldShowAfterExpand(isExpanded:hiddenItemInOverflow:alreadyShown:). Shows only for expanded + item in « + not shown yet. Its own "shown" flag (systemOverflowExpandNoticeShown), separate from the collapse notice. Recorded before the alert opens, so it never repeats.SystemOverflowExpandMatcher): of the bundles the last read put in the hidden section, a running third-party app is in « when a « exists and the app is missing from Accessibility (macOS lists only items that fit), or its item sits under a « or on no display. Apps that did not answer Accessibility are not judged. System extras are skipped.expandCollapseIfNeeded(click, hotkey, Shift-click) passesuserInitiated. Hover, auto and reveal gestures do not.HIDDENBAR_NATIVE_VISIBILITY).Verification
scripts/test.shin the mac-ui VM: Hidden Bar 664 passed, 0 failed; App Store 437 passed, 0 failed. New tests cover all 8 combinations of the decision, the separate flag, and the matcher (missing app, under «, on no display, unreadable, not running, system extras, no «).SystemOverflowNotice.makeExpandAlert(), light and dark.Not verified