Skip to content

feat(statusbar): say why at the arrow when a click hides nothing - #576

Merged
tieubao merged 6 commits into
developfrom
feat/arrow-says-why
Nov 19, 2026
Merged

tieubao merged 6 commits into
developfrom
feat/arrow-says-why

Conversation

@tieubao

@tieubao tieubao commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

When a click on the arrow (or the hotkey) hides nothing, a small notice at the arrow now says why and offers one action.

Reason Notice Button
Hidden Bar runs outside Applications Move Hidden Bar to Applications Move to Applications
An icon macOS always hides sits right of the arrow, and the pause switch is on Hiding is paused, with the app names Open Settings (Advanced)
Accessibility access is missing Hidden Bar needs Accessibility access Open Settings
Every icon is right of the arrow Nothing to hide, with the Command-drag hint none

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 LocaleCoverageTests passes. Screenshots from the macOS 27.2.1 VM follow under docs/verification/arrow-says-why/ before the merge.

On screen (macOS 27.2.1 VM, Developer ID build of this branch)

State Screenshot
Hiding is paused, names the app, button opens Advanced
Nothing to hide, anchored at the arrow after the bar settles
Outside Applications
Vietnamese
Timer attempt: no popover

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.

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.
@tieubao
tieubao merged commit 742eb21 into develop Nov 19, 2026
3 checks passed
@tieubao
tieubao deleted the feat/arrow-says-why branch November 19, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant