File > Import > Variable Data Sets was enabled on any open document, so
importing into one without variables made data sets with no values.
Gate it on the active document defining at least one variable, as the
export counterparts already gate on data sets.
The dialog opened on All Paths whatever row was selected in the Paths
panel. It now opens on the selected saved path or Work Path, and on All
Paths when no row is selected, the row is gone, or it is a shape
layer's path (not an entry yet, #13774).
Quick Export built its web settings without a `progressive` key, so every
JPG it wrote was baseline (SOF0). The reference application writes them
progressive (SOF2) at every quality. Save for Web keeps its own Progressive
checkbox, off by default.
The fade source now keeps the history id of the state before the faded
step. A following Hide Layers, Show Layers, Show Only This Layer or eye
click on layers other than the faded one keeps Fade enabled, and Fade
blends towards that state even when the visibility change added a
history state. Selecting another layer, any other step, or showing or
hiding the faded layer itself still disables Fade.
Fade in Dissolve fell through to the Normal mix. Below 100 % each pixel
now keeps the pixel before the step or takes the step's result whole,
alpha included, with the opacity as the odds. The pick uses the
position-based dither_noise that Edit > Fill's Dissolve uses, so it is
the same across tiles and between the dialog's preview and OK.
The gate failed on canvas::background_redraw::tests::open_documents_share_one_texture_budget_with_the_shown_ones_first, which this PR does not touch and which main passes; merging main runs the gate again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only values less than 100 past either end wrap (150 -> 50, -5 -> 95), as
measured; 200, -100, -105 and further out were not measured and keep the
old clamp to 0..=100, per the issue's rule for unmeasured cases.
Answers CodeRabbit on #13533: size defaults to Point Sample and sampleLayer to all,
so the zoom alone doesn't reproduce a 3 by 3 Average.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Answers CodeRabbit on #13533: the side is (N+1)/zoom rounded, the box starts
ceil(side/2)-1 pixels before the sampled pixel, and it is clipped to the canvas,
as sample_rect_at does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The command's params text already describes `zoom`; the protocol doc listed only
x, y, size and sampleLayer, so an agent following it got the centred square
instead of the Eyedropper's zoom-dependent box (4 x 4 for a 3 by 3 Average at
100 %).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A frame that takes a content layer was always named "Frame N". It is now
named after that layer ("Red Frame"), as in the reference application;
the content layer keeps its own name. Empty frames keep "Frame N" and an
explicit name param still wins.
layer.frame.set takes an optional historyName ("Move" or null; anything else is refused before
the document changes). The Frame tool sends it when it drags an empty frame, so History shows Move.
Handle drags, nudges, Free Transform, Properties changes and frames with an image keep Frame
Properties.
Fixes#13880
Escape while drawing a frame no longer throws the drag away: the frame is made where the pointer
is, as one New Frame step, and the movement and release after it change nothing. Escape while
moving, resizing or rotating an existing frame still cancels (not measured).
Fixes#13866