- Curves at 8 bit: evaluate the channel and composite curves at the 256
exact levels instead of between two entries of the 4096-entry table, so
a pencil step between levels 128 and 129 no longer gives level 128 a
fraction that rounds to level 4.
- Color Settings: a later Monitor Profile change keeps "Monitor Color"
only while the values still are what Monitor Color would set.
- Color Settings dialog: a control changed by ui.dialog.set before the
first pass shows Custom instead of becoming the baseline.
- Stored-channel edits (Lab/CMYK, CMYK Channel Mixer) mix through the
selection as v*(1-k) + o*k, exact at full coverage over huge 32-bit
values.
- Action playback: a Channel Mixer step the editor refuses reports the
refusal instead of opening the generic step editor.
- Shortcut set test: assert Cancel closes the confirmation.
- Merge follow-up: Session's colour state is reached through
ColorExt::color()/color_mut() on main now.
The scan now carries the file each stored link path resolved to, and the poll
drops it when the active document's current resolved files differ. Save As
to another folder changes what a relative link resolves to without changing
the stored path.
32-bit documents hold linear light, so the Gray extension colour there is grey 128
decoded as Image > Mode > 32 Bits/Channel decodes it (0.2159), not 128/255.
As the reference does (#13669), a missing source or destination folder
now opens a one-button alert titled Batch with the message. The dialog
stays open with its values and nothing runs; the refusal still answers a
control-channel confirm.
Each chosen file is queued with "frame": false, so with a Frame layer
selected the files no longer fill it one over another; each gets its own
layer, Free Transform box and history state. A single file still fills
the frame.
heavy-filter already caps mcp_wait at one concurrent test, but other
tests in the shard still ran beside them. On artcraft-k8s-main a
bridged jobs.list poll then missed the 300ms client timeout. Require
every test thread so these tests actually run alone, as the comment
already said.
Fixes#16491.
Main moved the engine to crates/engine-core and the UI to the craft
framework. The Place Embedded selection centring now lives in
engine-core's file_cmds/open.rs (beside main's new ppi field), and the
visible-canvas centre reads the view through
canvas::document_display::active_view (craft CanvasView::visible). The UI
tests answer the file dialog through ScriptedFiles and show the view with
canvas::testing::shown; the engine tests start from crate::session().
The ci override still warned at 15s and killed the test at 45s. On
artcraft-k8s-main it already takes 31-33s when it passes, and current
main timed out at 45s after nearly finishing the registry. Keep the
15s warning and terminate after 90s, still well under the profile's
10-minute default.
Fixes#16489.
Main moved the shape bar onto the craft framework: its Sides cell is the craft
ShapeBar's, so the Polygon tool's Radius is an options-bar number cell
(option_cells::number, with its out-of-range alert) right after the bar in
shape_options, as the Triangle's Align Edges is. The drag's geometry comes from
the craft tool, so shapes::with_tool_radius adds the tool's cornerRadius to a
Polygon drag's shape.create and outline (the Create Polygon dialog keeps its own).
Text that is no number now keeps the value without an alert, as every craft
number field does; that test and the arithmetic one are dropped.
Main moved the dialogs to the craft framework's hosted dialogs, so the
Batch OK check is now a ParamFamily check for file.automate.batch
(view_cmds::dialogs::batch_check): OK, and a confirm through the control
channel, are refused with the reference's message while a folder source
or its destination names no folder, and the dialog stays open. The
Error-dialog title override is dropped with the old dialog list.
Ported to main's craft file service: pick_files_bytes asks with
PickRequest::open_many and maps craft::host::Picked into PickedFile;
the tests use ScriptedFiles instead of the removed fake dialog.
Main moved the shape tools onto the craft framework: the drag's pixel snap is now
shapes::snaps_to_pixels, which takes the Rectangle with the Triangle, and the bar is
built with craft widgets, so the Rectangle's Align Edges is a craft Checkbox at the
end of vector_ui::options::bar, after the gear. The tests drive the drag through the
canvas tool.
The process catalog the engine, font picker and Glyphs panel read follows the
shared engine's rule (uses_system_fonts): without the installed-font scan
(tests, nextest, PHOTOCRAFT_NO_SYSTEM_FONTS) it lists the bundled and added
fonts only, so a test's font list no longer depends on the machine. Code that
asks for installed fonts (load_system_fonts, installed_font_files) reads
installed_catalog(), the global Catalog. The options bar harness comment names
the real reason for its step limit.
The check moves here from the preset store's corrupt-file test, which loads the
tip through the store directly; tools.setBrush is a brush command, so its pick
test goes with the brush tests.
Part of #15710
Step 7 of the engine split (#15710) moves the paint commands into their own
crate. These test changes land first, so the cut moves code and tests as they
are:
- photocraft-engine-core gets a `failpoints` feature (no default) that compiles
the allocation failpoints outside core's own test build; the paint crate's
dev-dependency on core will turn it on, so its allocation-failure tests keep
their injected failures. `allocation` is a public module and the two arming
functions are public under the feature.
- Core tests whose subject is core but whose setup ran a paint command set the
pixels through the document (`tests::fill_active`) or use a core command:
channel copy/paste/clear, Edit > Fade (setup: Invert), Actions import and
playback, patterns, file revert/save/flatten, layer-style rasterize, tone
targets, brush tip loading from the preset store, the filter mask target.
- Tests whose subject is a paint command move beside it: Edit > Fill's result
reservation failure (fill_cmds), and the filter-mask brush stroke
(brush_cmds/filter_mask_stroke_tests.rs); the filter mask save check stays in
core with the mask set through the document.
- The sampler turn test spells out the expected coordinates instead of using a
private core helper; the job cleanup test sets the live commit directly
instead of through the Mixer Brush; the ignored fill timing drops its
comparison with a private helper.
- The .atn table check accepts the paint commands it names when they are not
installed.
No behaviour change in the app.
Part of #15710
The canvas presses clear the dialog that opens over the canvas first, the armed
Curves picker test drives ui.pointer again, the mask preview test reads the CPU
proxy preview, and the Select and Mask tests run the app's own frame, in which
the workspace asks for its preview and reads its remembered settings.
Selective Color keeps the chosen row (colors) in its parameters: only the
single-colour values and relative are dropped. Select and Mask is stale when no
document or another one is active, as before the framework move.
An Image > Adjustments dialog whose target is a layer mask, the Quick Mask, a
channel, or a document or layer the adjustment-layer preview refuses (CMYK, Lab,
Blend If, smart objects) showed no live preview. adjust_preview hands those
targets to the CPU proxy preview, but since the move to the framework's dialog
host (#15449) ensure_filter_preview took only Smart Filter adjustment edits and
parameter dialogs, so a plain adjustment dialog fell out.
ensure_filter_preview now takes every open adjustment dialog, with the command
and parameters OK runs (adjust_dialog::confirmed_command, shared with OK). A
compare hold shows the original for every adjustment preview, Smart Filter
edits included, as the layer path already did.