Skip to content

Fix macOS settings page jumps and title visibility - #570

Merged
jmeistrich merged 1 commit into
mainfrom
jmeistrich/settings-jump
Nov 23, 2026
Merged

jmeistrich merged 1 commit into
mainfrom
jmeistrich/settings-jump

Conversation

@jmeistrich

Copy link
Copy Markdown
Member

Summary

Direct opens and sidebar jumps now wait for LegendList to measure the target page and every page above it. This keeps long settings pages aligned with the bottom of the overlay titlebar. A user scroll cancels a pending jump.

createSettingsWindowOptions() hides native titlebar text by default. The in-pane heading supplies the title. Callers that rely on visible native text can set macos.titleBar.titleVisibility to "visible".

Test plan

  • Run bun node_modules/vitest/vitest.mjs run tests/settings-window.test.ts. The two late-measurement cases fail with the original jump code and pass with the fix. The suite also covers user scroll cancellation, scroll-driven selection, pane heading styles, and the native title opt-out.
  • In macOS Kitchen Sink, open Native controls → Settings window. Use Open Shortcuts directly, then close Settings, use Open settings, and click Shortcuts in the sidebar. With the original jump code both paths clipped the heading. Verified that both paths show the heading and first card at the same position in light and dark on the final Debug runtime.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-23T05:47:09.838623Z
We couldn’t complete this review. Comment @codex review to try again.
bd0c02c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@jmeistrich
jmeistrich merged commit cf8628e into main Nov 23, 2026
2 checks passed
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