Skip to content

Restore Hidden Bar hiding on macOS 27 (review requested) - #401

Closed
mad4rider wants to merge 1 commit into
consolelabs:developfrom
mad4rider:fix/macos-27-hiddenbar
Closed

mad4rider wants to merge 1 commit into
consolelabs:developfrom
mad4rider:fix/macos-27-hiddenbar

Conversation

@mad4rider

Copy link
Copy Markdown

Summary

This change restores basic Hidden Bar behavior on my macOS 27.2 laptop. It keeps the collapsed status item below the size macOS 27 appears to accept, and avoids creating unnecessary spacer items on a normal laptop display. Those extra items caused large gaps between menu bar icons when Hidden Bar was expanded.

It also gives the controls new saved positions on macOS 27, retries the initial collapse until their order is valid, updates the collapsed length after display changes, and updates the relevant documentation.

What I tested

  • macOS 27.2 on a single 1728-point display.
  • Built and launched the complete app locally with the Command Line Tools, using the unchanged compiled storyboard and assets from the v1.10 release. The local app was ad hoc signed and passed codesign --verify --deep --strict.
  • Three temporary menu bar icons appeared when expanded and disappeared when collapsed, including after repeated toggles.
  • The separator measured about 22 points expanded and 802 points collapsed. The expanded controls no longer left the large empty gap I saw before.

Review requested

I am not a programmer, and I prepared these changes with OpenAI Codex. I cannot claim that the implementation is fully correct or that it works on every Mac. It works on my laptop, but I would be very grateful if someone could review it, refactor it where needed, and help turn this into reliable macOS 27 support.

In particular, wide or mixed-width displays, notched Macs, right-to-left layouts, and the optional always-hidden section still need testing. I have not run an Xcode archive or a public release build.

@tieubao

tieubao commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Heads-up: the hiding path this PR modifies was refactored and superseded by the native menu-bar engine that landed in #402/#403 and shipped in v1.11.1 (MenuBarEngine / NativeVisibilityEngine, direct build). The StatusBarController changes here conflict with that refactor and can't be merged as-is.

Recommend closing; remaining macOS 27 regressions are tracked in #409–#414 and belong in the new engine's code path, not the old length-based one.

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.

2 participants