mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-28 11:57:16 -06:00
* Camera Raw opens in a window of its own The Camera Raw dialog (Filter › Camera Raw Filter and the open-time dialog) was a full-window overlay drawn over the PhotoCraft window, covering its title bar: it looked like a fullscreen app without window controls. Adobe Camera Raw is a separate window. Show it in an egui immediate viewport: an OS window titled "Camera Raw (name)" / "Camera Raw Filter (layer)", 1360 x 900 by default, resizable (minimum 900 x 600). The dialog stays modal: the main window is dimmed and takes no input while it is open. Closing the window is Cancel (for the open-time dialog that closes the raw being opened). Where the platform has no extra windows (ctx.embed_viewports(), the web build) it is drawn over the main window as before, with its painted title strip. The drawing code is unchanged apart from the title strip, which is not painted in a window of its own. * Camera Raw window: scrim theme token, close-is-Cancel test, document the screenshot gap - theme::Tokens gains `scrim` (the dim over the main window behind a modal that takes all input); Camera Raw uses it instead of a hard-coded colour. - closing_the_camera_raw_window_cancels: the overlay fallback keeps the dialog open, a close request on its window cancels without history. - control-protocol.md: eframe 0.36 cannot screenshot an immediate viewport, so ui.screenshot shows the dimmed main window while Camera Raw has its own window; agents read it via ui.inspect.cameraRaw and see it offscreen with the snapshot example or kittest (which embed viewports). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Brandon Thomas <echelon@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>