diff --git a/Plans/08 WebKit engine/S056-daily-use-fixes.md b/Plans/08 WebKit engine/S056-daily-use-fixes.md new file mode 100644 index 0000000..595eb0a --- /dev/null +++ b/Plans/08 WebKit engine/S056-daily-use-fixes.md @@ -0,0 +1,52 @@ +# S056 — Daily-use fixes from the user's first WebKit test + +> Category 08 WebKit engine · Model: Opus · Effort: high · Depends on: S050 · Size: M · Human: no · **cargo** (main target/) +> Files touched: src/egui_area.rs, src/app.rs, src/engine/*, src/actions.rs (PiP, page menu), src/keys.rs, src/ui/ (PiP controls, page menu), src/inject.rs (PiP page script), tests/smoke/* + +## Goal +The user tried the WebKit build on their own niri desktop (2026-11-13) and hit problems that block daily use. Fix them +and prove each one with a visible run on DP-1 (D-045: focus changes are fine) plus a hidden regression smoke where possible. +User's report (screenshots in the orchestrator session): +1. **Freeze**: after working in another window and coming back, Nacre no longer reacts (only closing the window + works). Terminal: `Gdk-WARNING: Duplicate call to gdk_frame_timings_presented() with different values: + presentation time is 293.767ms off from expected`. A YouTube video was playing in PiP at the time. +2. **Mouse side buttons** (back/forward, buttons 8/9) don't navigate over the page. Check every other binding the + Servo build had (keys.rs table, mouse, wheel+Ctrl zoom, middle click on links/tabs) actually reaches WebKit views. +3. **Picture in picture is the whole page in a second window**, not a video. Make it real PiP: only the video, + window sized to the video's aspect ratio (small default, e.g. 480 px wide, remembered), floating on niri. The user + noticed it already looks right if the site is put into full screen first: use that (element full screen of the + `