From 3f213ccbe13b8b31c1ea5b16891bc2fa346bd8ed Mon Sep 17 00:00:00 2001 From: astar76 Date: Thu, 12 Nov 2026 08:08:01 -0600 Subject: [PATCH] S006: R4-05 clicks, keys and wheel reach web pages again window_input asked egui's is_pointer_over_egui, which is true over the page because it sits in the central panel; only floating layers count now. Selftest click/rclick/pagescroll go through window_input, pagetype types into the page, assert fails the smoke run; tests/smoke/input.txt fails on the old code. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 2 +- Plans/02 Verify/S006-verify-basics.md | 2 +- docs/review/phase4.md | 2 +- src/app.rs | 8 ++- src/selftest.rs | 92 +++++++++++++++++++++++---- src/window.rs | 8 +++ tests/smoke/input.txt | 28 ++++++++ tests/smoke/pages/input.html | 8 +++ tools/smoke.sh | 9 ++- 9 files changed, 139 insertions(+), 20 deletions(-) create mode 100644 tests/smoke/input.txt create mode 100644 tests/smoke/pages/input.html diff --git a/CLAUDE.md b/CLAUDE.md index aa9c4f0..a6576f0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -65,7 +65,7 @@ Never modify: `~/Documents/Apps/Nacre` (the original Python Nacre, reference onl | `nice cargo build --release -j 2` | compile check, produces `target/release/nacre` | now | | `nice cargo test --release -j 2` | unit tests (44, ~16 s test-profile build then <1 s run; shares the S001 build) (util, settings, history, bookmarks, permissions, vault, dns, bridge loopback, download, adblock, keys, scripts, updates, inject, hub, theme, ui::widgets input, ui::paint, ui::pages::newtab) | first successful build; not alongside a build | | `src/selftest.rs` | in-app self test: `NACRE_SCRIPT=` runs script commands (listed at its top) | now | -| `tools/smoke.sh