Skip to content

fix: keep the menu bar reveal delay working on macOS 27 - #368

Merged
M4n0x merged 1 commit into
mainfrom
fix/367-reveal-delay-macos-27
Oct 28, 2026
Merged

M4n0x merged 1 commit into
mainfrom
fix/367-reveal-delay-macos-27

Conversation

@M4n0x

@M4n0x M4n0x commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Problem

On macOS 27, Reveal delay (bar.menuBarRevealDelay) no longer holds the menu bar back: it appears 75–380 ms after the pointer reaches the top edge, whatever the delay. Fixes #367.

macOS 27's new MenuBarAgent reveals the hidden menu bar from anywhere within 4 points of the top edge, and tracks the pointer down to 5 points. StableBar held the pointer at exactly 4 points, inside that band, so macOS ran its own short wait while StableBar was still holding.

Changes

  • MenuBarHover holds the pointer 6 points below the top edge (MenuBarHover.holdDepth) instead of 4, and starts the wait from that same line. Once the delay ends, StableBar still moves the pointer to the edge, and macOS then reveals the menu bar as before.
  • The guide's Delay the native menu bar section says six points and why.

No configuration, schema or Settings changes.

Testing

  • swift test --filter menuBarDelay: 5 tests (8 cases) pass. The existing delay tests now expect the 6-point hold. A new test checks that pointers at 4 and 5 points are held at 6, and that one at 7 passes.
  • Evidence for the band, from /usr/bin/log show --predicate 'process == "MenuBarAgent"' on macOS 27.2: tracking scope roi mode=autoHide reporting=[((0.0, -4.0), (width: 2560.0, height: 8.0))] detection=[((-1.0, -5.0), (width: 2562.0, height: 10.0))]. A pointer held at y = 4.0 started reveal dwell, while one that moved down to y ≈ 5.1–9.8 ended the dwell without a reveal.
  • Not tested live with this build: the installed bar's event tap would hold the pointer at 4 points at the same time.
  • No visible change; no screenshots.

Merging

One fix commit. Squash merge with the title is fine.

Claude Opus 5.5 via Claude Code.

macOS 27 reveals the hidden menu bar from anywhere within 4 points of
the top edge. The delay held the pointer at exactly 4 points, so macOS
showed the menu bar after its own short wait. Hold it 6 points down.

Closes #367
@M4n0x
M4n0x requested a review from Seb-GRAF as a code owner October 28, 2026 11:11
@M4n0x
M4n0x merged commit e0648d4 into main Oct 28, 2026
8 checks passed
@M4n0x
M4n0x deleted the fix/367-reveal-delay-macos-27 branch October 28, 2026 11:57
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The menu bar reveal delay no longer holds the menu bar back on macOS 27

1 participant