Repository navigation
feat(statusbar): say why at the arrow when a click hides nothing - #576
Merged
Merged
Conversation
A click or hotkey that ends with nothing hidden left the user with an arrow that did nothing; the engine knew why and only wrote it to the log. The engine now returns a typed reason: outside Applications, icons macOS cannot keep visible while the pause switch is on (with their names), missing Accessibility, or a collapse that hid nothing because every icon sits right of the arrow, decided from the sections it already read. An unreadable arrow position stays a plain unavailable and says nothing. The log lines are unchanged. The controller shows one popover under the arrow with the status card's own words and at most one button. It speaks only for a manual request, once per reason per launch, and never over a notice that is already up. The popover is direct-build only, like the engine; the App Store build compiles the reason types and never receives one. Every new string is translated in all twelve locales.
Screenshots from macOS 27.2.1 of the notice for hiding paused, nothing to hide, move to Applications and Vietnamese, with the once-per-launch and manual-only checks. One failure is recorded: the notice keeps its first anchor when the arrow moves after the collapse.
The collapse answers before macOS has reflowed the bar, so the popover was anchored to the arrow's old position and pointed at empty menu bar. It is now placed on the next run loop turn from the arrow's frame then, and follows the arrow once more if its window moves while the notice is up. An arrow that has no screen at either moment still shows nothing.
On commit 73ce96d the notice centre matches the arrow in the physical layout on a fresh launch and after a relaunch, holds still for 10 s, and the paused-hiding anchor did not regress.
This was referenced Nov 20, 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.
When a click on the arrow (or the hotkey) hides nothing, a small notice at the arrow now says why and offers one action.
Rules: manual requests only, never for a timer attempt. Once per reason per launch. Direct build only, like the engine.
Why: three reports in one day (#571 twice, #502) where the arrow did nothing and only the log said why.
Tests, run in the mac-ui VM: direct scheme 508 passed, App Store scheme 516 passed. Negative control: three tests fail when the manual-only check is removed. New strings are translated in all twelve locales and
LocaleCoverageTestspasses. Screenshots from the macOS 27.2.1 VM follow underdocs/verification/arrow-says-why/before the merge.On screen (macOS 27.2.1 VM, Developer ID build of this branch)
Checked in the VM: once per reason per launch, no popover for a timer attempt, and the popover tip matches the arrow (706 pt and 706 pt) on a fresh launch and after a relaunch. A first proof run found the popover anchored at the arrow's old position; commit 73ce96d fixes it.