Skip to content

Preserve native and browser key-repeat flags - #7

Draft
TheRenegadeDev wants to merge 8 commits into
storytold:migration/egui-037-20261024from
TheRenegadeDev:fix/2572-native-key-repeat
Draft

TheRenegadeDev wants to merge 8 commits into
storytold:migration/egui-037-20261024from
TheRenegadeDev:fix/2572-native-key-repeat

Conversation

@TheRenegadeDev

@TheRenegadeDev TheRenegadeDev commented Oct 27, 2026 •

Copy link
Copy Markdown

Summary

Forward native and browser repeat flags and retain egui's held-key inference with repeat |= !first_press. A continued key hold must not become a fresh confirmation after focus changes.

Supports GridCraft #2572. Targets migration/egui-037-20261024 from pin 6d518fc7; pins winit #18 at 58385004.

Evidence

  • GridCraft Ubuntu CI passed all ten gate stages, compiling this exact 499ca4a62e8653cecb5912a6221616252e087689 revision and the changed winit X11 backend with the lockfile unchanged.
  • Windows-message repeat/fresh N/Y and paired-release controls pass through real winit and egui-winit. Synthetic controls emit no key, text or clipboard action.
  • egui 190 and egui-winit 77 unit tests passed. Library Clippy, formatting, browser WASM build and WASM Clippy passed.
  • Live X11/XEmbed/XIM, browser execution and physical keyboard testing remain unverified. No local tools/components were installed.
  • The preview-comment build job failed only in Comment PR with Resource not accessible by integration. It ran no compiler or build step.
  • Cargo Shear, Typos, Rust, Pull Request Labels, Preview Build, Taplo and PNG/LFS each report action_required with zero jobs. Those checks did not execute and remain unverified; the separate GridCraft result above proves the native dependency build, not these PR workflows.

Merge Danger

Door: two-way; reversible metadata and pin changes.

Blast Radius: keyboard input. Existing repeat inference is preserved.

Keep draft under CONTRIBUTING.md's requirement for human review before undrafting; no human review is recorded.

  • I have followed the instructions in the PR template — human review is pending.

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