Lutra/apps/lutra-desktop
danny f49b42836a F2: ui.screenshot captures the webview without focusing the window
On Windows the webview renders itself into a PNG through WebView2
CapturePreview (scheduled on the main thread via with_webview, 10 s
timeout, PNG signature and 64 MiB cap checked). macOS and Linux keep the
xcap screen-region capture as a documented fallback, now without focusing.
app.focus is the only control method that changes focus. A --control
instance opens its window without taking the foreground. An ignored live
test samples the foreground window while the app starts and takes five
screenshots and fails if Lutra ever owns it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 17:13:38 +01:00
..
capabilities M1.4: desktop bridge: engine events to the window, folder picker, live project tree 2026-10-15 06:41:49 +02:00
src F2: ui.screenshot captures the webview without focusing the window 2026-10-27 17:13:38 +01:00
tests F2: ui.screenshot captures the webview without focusing the window 2026-10-27 17:13:38 +01:00
build.rs M1.14: app icon and README banner 2026-10-16 17:00:48 +02:00
Cargo.toml F2: ui.screenshot captures the webview without focusing the window 2026-10-27 17:13:38 +01:00
tauri.conf.json M0.5: Tauri desktop shell with themed main window 2026-10-14 18:39:49 +02:00