Skip to content

Conversation

@umajho
Copy link
Contributor

@umajho umajho commented Jan 13, 2026

The demo should check whether its TextEdit is focused before consuming cmd+Y, in case there are other demos that do the same and come after it. (I found this while experimenting with my own PoC binding and replicating this demo.)

before before
after after
  • Closes N/A
  • I have followed the instructions in the PR template

./scripts/check.sh failed with:

+ ./scripts/cargo_deny.sh
cargo deny --all-features --log-level error --target aarch64-apple-darwin check 
error[unmaintained]: Bincode is unmaintained
   ┌─ …/egui/Cargo.lock:23:1
   │
23 │ bincode 1.3.3 registry+https://github.com/rust-lang/crates.io-index
   │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ unmaintained advisory detected
   │
   ├ ID: RUSTSEC-2025-0141
   ├ Advisory: https://rustsec.org/advisories/RUSTSEC-2025-0141
   ├ Due to a doxxing and harassment incident, the bincode team has taken the decision to cease development permanently.
     
     The team considers version 1.3.3 a complete version of bincode that is not in need of any updates.
     
     ## Alternatives to consider
     
         * [wincode](https://crates.io/crates/wincode)
     
         * [postcard](https://crates.io/crates/postcard)
     
         * [bitcode](https://crates.io/crates/bitcode)
     
         * [rkyv](https://crates.io/crates/rkyv)
   ├ Announcement: https://git.sr.ht/~stygianentity/bincode/tree/v3.0/item/README.md
   ├ Solution: No safe upgrade is available!
   ├ bincode v1.3.3
     ├── puffin v0.19.1
     │   ├── egui_demo_app v0.33.3
     │   ├── profiling v1.0.17
     │   │   ├── eframe v0.33.3
     │   │   │   ├── confirm_exit v0.1.0
     │   │   │   ├── custom_3d_glow v0.1.0
     │   │   │   ├── custom_font v0.1.0
     │   │   │   ├── custom_font_style v0.1.0
     │   │   │   ├── custom_keypad v0.1.0
     │   │   │   ├── custom_style v0.1.0
     │   │   │   ├── custom_window_frame v0.1.0
     │   │   │   ├── egui_demo_app v0.33.3 (*)
     │   │   │   ├── egui_kittest v0.33.3
     │   │   │   │   ├── (dev) egui_demo_app v0.33.3 (*)
     │   │   │   │   ├── (dev) egui_demo_lib v0.33.3
     │   │   │   │   │   ├── custom_style v0.1.0 (*)
     │   │   │   │   │   ├── egui_demo_app v0.33.3 (*)
     │   │   │   │   │   └── hello_android v0.1.0
     │   │   │   │   └── (dev) egui_tests v0.33.3
     │   │   │   ├── external_eventloop v0.1.0
     │   │   │   ├── external_eventloop_async v0.1.0
     │   │   │   ├── file_dialog v0.1.0
     │   │   │   ├── hello_android v0.1.0 (*)
     │   │   │   ├── hello_world v0.1.0
     │   │   │   ├── hello_world_par v0.1.0
     │   │   │   ├── hello_world_simple v0.1.0
     │   │   │   ├── images v0.1.0
     │   │   │   ├── keyboard_events v0.1.0
     │   │   │   ├── multiple_viewports v0.1.0
     │   │   │   ├── popups v0.33.3
     │   │   │   ├── puffin_profiler v0.1.0
     │   │   │   ├── screenshot v0.1.0
     │   │   │   ├── serial_windows v0.1.0
     │   │   │   ├── test_egui_extras_compilation v0.1.0
     │   │   │   ├── test_inline_glow_paint v0.1.0
     │   │   │   ├── test_size_pass v0.1.0
     │   │   │   ├── test_ui_stack v0.1.0
     │   │   │   ├── test_viewports v0.1.0
     │   │   │   └── user_attention v0.1.0
     │   │   ├── egui v0.33.3
     │   │   │   ├── eframe v0.33.3 (*)
     │   │   │   ├── egui-wgpu v0.33.3
     │   │   │   │   ├── eframe v0.33.3 (*)
     │   │   │   │   └── egui_kittest v0.33.3 (*)
     │   │   │   ├── egui-winit v0.33.3
     │   │   │   │   ├── eframe v0.33.3 (*)
     │   │   │   │   └── egui_glow v0.33.3
     │   │   │   │       └── eframe v0.33.3 (*)
     │   │   │   ├── egui_demo_app v0.33.3 (*)
     │   │   │   ├── egui_demo_lib v0.33.3 (*)
     │   │   │   ├── egui_extras v0.33.3
     │   │   │   │   ├── custom_keypad v0.1.0 (*)
     │   │   │   │   ├── custom_style v0.1.0 (*)
     │   │   │   │   ├── egui_demo_app v0.33.3 (*)
     │   │   │   │   ├── egui_demo_lib v0.33.3 (*)
     │   │   │   │   ├── (dev) egui_kittest v0.33.3 (*)
     │   │   │   │   ├── (dev) egui_tests v0.33.3 (*)
     │   │   │   │   ├── hello_android v0.1.0 (*)
     │   │   │   │   ├── hello_world v0.1.0 (*)
     │   │   │   │   ├── images v0.1.0 (*)
     │   │   │   │   ├── test_egui_extras_compilation v0.1.0 (*)
     │   │   │   │   └── test_ui_stack v0.1.0 (*)
     │   │   │   ├── egui_glow v0.33.3 (*)
     │   │   │   ├── egui_kittest v0.33.3 (*)
     │   │   │   └── (dev) egui_tests v0.33.3 (*)
     │   │   ├── egui-wgpu v0.33.3 (*)
     │   │   ├── egui-winit v0.33.3 (*)
     │   │   ├── egui_demo_app v0.33.3 (*)
     │   │   ├── egui_extras v0.33.3 (*)
     │   │   ├── egui_glow v0.33.3 (*)
     │   │   ├── epaint v0.33.3
     │   │   │   ├── egui v0.33.3 (*)
     │   │   │   └── egui-wgpu v0.33.3 (*)
     │   │   ├── puffin_profiler v0.1.0 (*)
     │   │   ├── wgpu v27.0.1
     │   │   │   ├── eframe v0.33.3 (*)
     │   │   │   ├── egui-wgpu v0.33.3 (*)
     │   │   │   ├── egui_demo_app v0.33.3 (*)
     │   │   │   └── egui_kittest v0.33.3 (*)
     │   │   ├── wgpu-core v27.0.0
     │   │   │   └── wgpu v27.0.1 (*)
     │   │   └── wgpu-hal v27.0.0
     │   │       ├── wgpu v27.0.1 (*)
     │   │       ├── wgpu-core v27.0.0 (*)
     │   │       └── wgpu-core-deps-apple v27.0.0
     │   │           └── wgpu-core v27.0.0 (*)
     │   ├── puffin_http v0.16.1
     │   │   ├── egui_demo_app v0.33.3 (*)
     │   │   └── puffin_profiler v0.1.0 (*)
     │   └── puffin_profiler v0.1.0 (*)
     └── syntect v5.3.0
         └── egui_extras v0.33.3 (*)

advisories FAILED, bans ok, licenses ok, sources ok

@github-actions
Copy link

github-actions bot commented Jan 13, 2026

Preview available at https://egui-pr-preview.github.io/pr/7846-fix-demo-text-edit-consuming-keys-without-focus
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

View snapshot changes at kitdiff

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