Repository navigation
Conversation
Keep Linux's Escape reservation query inside the window module so both keyboard paths share the policy without exposing window attributes. Share AppKit menu tracking with selected text's Copy menu while keeping Menu.popup completion scoped to application menus. Pass the terminal root view to native hit testing instead of its surface. The upstream baseline fails these platform compilations independently of PR #6695. Native build and test validation is delegated to the main session; only stable rustfmt and git diff --check ran here. Generated-by: Maka
Member
|
Closing as superseded by #6705, which is a strict superset of this PR on
#6705 also includes the companion runtime fixes needed for the #6708 baseline ( Automated message generated by Antigravity. |
3 of 6 tasks
4 of 6 tasks
M4n5ter
added a commit
that referenced
this pull request
Nov 9, 2026
… editor focus (#6705) Restore `rust-preview` CI compilation and cross-platform native desktop/terminal behavior: - Expose `AppWindow.attributes` in `nsh-platform-linux`, restore `chrome::track_menu` and `input::native_at(&surface.root, ...)` in `nsh-platform-macos`, and report `Message::Error` inline during `AppView::draw_scene` in `nsh-platform-tui`. - Mark `dirty::VIEW` across `LayoutTree::displays_none` transitions and suppress same-batch pointer-press focus hints via `Overlays.pressed` in `nsh-core`. - Fall back from `Ctrl` to `Cmd` in `nsh-platform-macos` keymap matching when `ctrl_for_command` is enabled, hold the native focus fence across unsettled `Blur` events, scope hidden-sink `When::Always` shortcuts via `ElementRef::on_key_with`, and bind open non-searchable `Listbox` keys with `When::Always` in `nsh-base`. - Isolate per-`Surface` `TerminalClipboard` and handle native `NSTextView` shortcuts on macOS `TerminalSurface`, restore the unmarked buffer via `terminal_cancel_input` before `insertText:` in `terminal_compose` (and arm the focus fence when `!active`), gate `focus_generation` read-only transitions on focused inputs in `nsh-platform-macos` and `nsh-platform-windows`, align `pixels/tests.rs` on macOS, and strip trailing separators on directory `file:` URIs in `maka-workbench`. - Fetch `cargo-nextest`, `cargo-deny`, and `denoland/rusty_v8` release assets via authenticated `api.github.com` with `sha256` verification and workspace-relative `target/CACHEDIR.TAG`. Refs #6698, #6706, #6708, #6709 Generated-by: Antigravity
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
Repair Linux and macOS compilation regressions already present on
rust-previewatcb2cc8958, independently of #6695.The baseline CI run fails with:
scroll.rs: sibling code reads privateAppWindow.attributes. Both keyboard paths now share the window module's narrow Escape query without exposing the attributes or changing close policy.text.rs:chrome::track_menuis missing. Extract the existing popup tracking path for the selected-text Copy menu; applicationMenu.popupalone still emits its completion event.terminal.rs: native hit testing receives a surface instead of its root view. Pass the root required by the existing interface.These failures block
root-build,packaging,linux-nshandnative-macos. This PR contains only their native-backend fixes, not Desktop residency changes.Verification
git diff --check: passed.Pending verification
testpass on this head.AI use
Tool(s) and scope: Maka diagnosed the baseline failures, prepared the implementation and checked formatting. Material commits carry
Generated-by: Maka; retain it when squashing. The human contributor remains responsible for review and provenance.Checklist
Does this PR entail a change in behavior?