The Document choice stored a tab index, so reordering tabs or closing
another document while the dialog was open sent the copy to whichever
document took the chosen one's place. The choice now holds the document's
id, resolved to its current index at OK; a destination closed meanwhile
refuses OK with the reason and keeps the dialog open.
At opt-level 0 the framework runtime made the whole-app UI tests about 60%
slower on Linux and 30% on Windows. The framework comes from the CI cache
and compiles only when the craft-libs pin moves, so the build saving
appeared on few runs while every run paid in test time. The engine is a
workspace crate that every test job compiles: at 0 its build is about 20%
shorter and its tests 7-8% longer.
The wave merge of main (a1ae1f64b) left one compile error on the branch:
unchanged_edit_history_tests.rs returned a PhotocraftApp from its factory while
main's PhotocraftApp::new now boxes the app (E0308). Follow main's test-frame
convention: the factory returns Box<PhotocraftApp>, which every helper call site
already derefs.
Clear the remembered round origin together with the cursor when the find
text or an option differs, and on a zero-hit Change All, so a new query
cannot stop at the layer an earlier round started in.
Adds changed_query_starts_a_new_round_and_reaches_the_old_origin.
The shader's Gradient Map LUT returns the stop colour unchanged, so the
GPU compositor kept a coloured gradient in a Grayscale document while
the CPU path now keeps the stop colour's CIE L* (#14698). The planner
returns Unsupported for that case, as it does for CMYK/Lab channels, so
the whole document falls back to the CPU compositor.
The Width and Height unit selects are labelled "Width unit" and "Height unit" and show Pixels as their value, so
looking for a node labelled "Pixels" found none (it failed on Linux and Windows CI too).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
#15684 replaced crates/ipp/src/lib.rs with a re-export of craft_ipp and
dropped the crate's forbid(unsafe_code) and never-crash deny lines. The
scorecard counts that attribute on every crate root, so docs/scorecard.md
went stale on main and `scorecard::tests::staleness_check_and_determinism`
and the lint job's `scorecard` step fail on every pull request.
This puts the two lines back, so the scorecard reads 25 of 25 again and
matches the committed docs/scorecard.md.
Owner decision on #14887: the Reset to Default behaviour stands (Photoshop
behaviour is the reference), and the Make-Default direction now gets a pin.
make_default_keeps_the_typed_shared_angle clicks the Bevel page's Make Default
with Angle 45 typed under the shared light: the stored defaults carry the shown
45 and useGlobalLight on, never the factory 120, and after retyping the light
to 30 a Reset to Default follows the live shared angle, not the stored literal.
Guard pin, no behaviour change; with the branch's reset seeding temporarily
disabled the new test fails, so the pin bites. tests::harness becomes
pub(super) for the button click.
Listing craft by name in UI_CRATES flagged photocraft-algo, -io, -text and -engine, which use the facade's non-UI
parts (imaging, fonts, keymap, settings), so cargo xtask layers failed on the workspace. The facade brings the craft UI
framework (craft-ui, egui) only through `ui` and the features that turn it on (`ui-*`, `screen-testing`), so the
guard now reads each dependency's declared features from cargo metadata and flags craft below L6 only with one of
those. Tests: craft with ui, ui-app or screen-testing below L6 fails (normal and dev), the features the workspace
uses today pass, L6 may use them all, and metadata parsing keeps the features. Both fail with the feature rule empty.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
#15504 removes panel_docking::toolbar_opens (flyouts always open the same way); #15496's measure cache still read it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>