Repository navigation
Conversation
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 ( 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. |
7 of 9 tasks
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.
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
codesign --verify --deep --strict.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.