Skip to content

fix(terminal-shell): remove reserved macOS mod+h in pixels test and fence Goal/Todo strip - #6714

Merged
M4n5ter merged 1 commit into
rust-previewfrom
fix/pixels-macos-reserved-key
Nov 9, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
fix/pixels-macos-reserved-key

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 9, 2026

Copy link
Copy Markdown
Member

Summary

Restore native-macos on rust-preview by fixing the two remaining native test issues observed on post-merge CI runs (42562689946, 42564307040, and 42568152315):

  1. maka-terminal-shell::native-pixels (native_editor_focus_and_text_do_not_wait_for_another_pixel_frame): remove the dead pastes signal and keymap.bind('mod+h', ...) left behind in APP when d9626ee7ac removed the paste-events: assertions. On macOS (Os::MacOs), mod+h (⌘H, Hide Application) is reserved by Keystroke::reserved and fails bundle startup with keymap.bind: "mod+h" cannot be bound: it hides the app.
  2. maka-cli::native-desktop (desktop_goal_commands_create_pause_resume_and_finish_without_losing_the_draft): wait for "Toggle conversation todo" to appear in the composer details strip after todo_write before pressing "Goal progress: Working". Without that fence, singleDesktop() initially stretches the Goal button across the full row (center near x ≈ 50%), and if the todo_write UI update drains during click_at's MouseMove pump, the new Todo button (flex: 1) lands at x ≈ 50% and receives the click instead of Goal.

Refs #6705, #6710

Verification

  • Verified the APP fixture from products/maka/terminal-shell/src/terminal/pixels/tests.rs in QuickJS (nsh-testing Headless::start + settle) across Os::MacOs, Os::Windows, and Os::Linux.
  • cargo check --locked -p maka-terminal-shell --tests -p maka-cli --tests
  • node scripts/ci.mjs check format
  • node scripts/ci.mjs check licenses
  • node scripts/ci.mjs run tooling
  • Native AppKit/Direct2D pixel and desktop suites (native-macos / native-windows) are exercised by CI on this PR (not runnable on this Linux workspace).

AI use

Select exactly one:

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

Tool(s) and scope: Antigravity diagnosed the post-merge native-macos CI logs and authored the test fixture and synchronization fixes.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

…ence Goal/Todo strip

Remove the dead mod+h keybinding from native_editor_focus_and_text_do_not_wait_for_another_pixel_frame (Cmd+H is reserved on macOS) and wait for the Todo strip button to render after todo_write before pressing the Goal button in desktop_goal_commands_create_pause_resume_and_finish_without_losing_the_draft.

Generated-by: Antigravity
@M4n5ter
M4n5ter merged commit 606a11c into rust-preview Nov 9, 2026
8 checks passed
@M4n5ter
M4n5ter deleted the fix/pixels-macos-reserved-key branch November 9, 2026 07:08
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