mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-24 09:57:08 -06:00
* test(ui-egui): Export As artboards test accepts the Windows path separator The test added in #3909 compared the second file's path with a literal '/', but the exporter joins the sibling name with the platform separator, so Windows CI saw '/out\boards-2-Capsule.jpg' and failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ui): only Filter menu dialogs get the in-dialog preview window #3877 drew the preview window in every schema dialog with a Preview checkbox, including Image > Rotation > Arbitrary. Photoshop's Rotate Canvas and adjustment dialogs have no preview window, and the taller dialog covered the canvas, which broke arbitrary_rotation_preview::size_changing_rotation_preview_is_visible_and_preserves_the_panned_center on main. The window and its reserved height now apply to filter.* commands only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * build(web): opt-level z for large cold crates in the wasm release profile The browser wasm sat at the 24 MiB gate. The document model, file parsers (psd, format, affinity), serde_json, usvg and naga are off the per-frame and per-pixel paths; opt-level "z" for them takes the release wasm from 25,186,233 to 24,829,840 bytes (-356 KB) with no behaviour change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cli): run prints each missing-font warning once Since #3630 the headless open and save also report missing fonts, so `run <file> --out` and `run --cmd ... --out` printed the same warning two or three times and missing_typeface_is_reported_by_run_info_and_convert failed on main. Warnings from the open and the save now go through the same already-reported set as the per-command ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ui): the filter preview window never uploads a texture past the GPU limit With low-resolution previews off, the preview window from #3877 uploaded the whole document as one texture. egui panics on a texture bigger than max_texture_side, so opening a filter dialog on a large image crashed (full_res_preview::filter_dialog_previews_at_full_resolution_when_low_res_is_off). The texture is now reduced to fit; the view maps through UV fractions, so it still lines up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>