Skip to content

fix(macos): keep Settings below native titlebar controls#102663

Merged
steipete merged 2 commits into
mainfrom
codex/macos-settings-titlebar-clearance
Jul 9, 2026
Merged

fix(macos): keep Settings below native titlebar controls#102663
steipete merged 2 commits into
mainfrom
codex/macos-settings-titlebar-clearance

Conversation

@steipete

@steipete steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where users opening Control UI Settings inside the macOS app would see the native window controls overlap the Back to app control.

Why This Change Was Made

The Settings takeover now gives its header the same native titlebar clearance as the normal sidebar. This keeps the first interactive row below both the traffic lights and the AppKit drag regions instead of moving the action into a non-clickable titlebar surface.

User Impact

Mac app users can see and use Back to app without interference from the native close, minimize, and zoom controls.

AI-assisted: implemented and reviewed with Codex.

Evidence

  • Browser geometry at a 1200×800 desktop viewport using the live Control UI stylesheet: without native titlebar presentation, Back occupied y=14…46; with the native presentation, it occupied y=50…82, clearing the titlebar interaction band ending at y=46 while retaining the ESC hint.
  • swift test --package-path apps/macos --filter DashboardWindowSmokeTests — 9 tests passed, including the new native chrome selector regression.
  • Blacksmith Testbox through Crabbox tbx_01kx36rqmphcsrp5104hmtx45w: corepack pnpm check:changed passed on the exact branch content.
  • .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main --stream-engine-output — no accepted or actionable findings; patch correct at 0.98 confidence.

@openclaw-barnacle openclaw-barnacle Bot added app: macos App: macos size: XS maintainer Maintainer-authored PR labels Jul 9, 2026
@steipete steipete self-assigned this Jul 9, 2026
@clawsweeper

clawsweeper Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 1dbb5ac4d26455438c2248e75ef31cbb70af1932, but the PR head is now 9d35490916da444d3f18ffdc93f5fa7eb33c332d. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

@steipete

steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Land-ready verification for 9d35490916da444d3f18ffdc93f5fa7eb33c332d:

  • swift test --package-path apps/macos --filter DashboardWindowSmokeTests — 9 passed, including the native chrome selector regression.
  • corepack pnpm check:changed — passed on Blacksmith Testbox tbx_01kx36rqmphcsrp5104hmtx45w (167 passed, 26 skipped across 11 files).
  • Exact-head CI run https://github.com/openclaw/openclaw/actions/runs/29012196388 — passed; relevant jobs include macos-swift, macos-node, native-i18n, preflight, and security-fast.
  • .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main --stream-engine-output — no findings; patch correct at 0.98 confidence.
  • Browser geometry at 1200x800 with the live Control UI stylesheet: before native titlebar presentation, Back occupied y=14..46; after, y=50..82, clearing the native interaction band ending at y=46 while retaining the ESC hint.

Known proof gap: no rebuilt signed-app screenshot was captured. The exact native injection contract is covered by the macOS test/CI, and the resulting layout geometry was verified separately against the live stylesheet.

@steipete
steipete merged commit 201acd4 into main Jul 9, 2026
42 checks passed
@steipete
steipete deleted the codex/macos-settings-titlebar-clearance branch July 9, 2026 10:41
@steipete

steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 10, 2026
…2663)

* fix(macos): clear settings titlebar controls

* chore: leave release notes to release automation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant