- A pass that cancels Free Transform no longer hands the canvas the captured
preview picture, so the moved pixels are not painted over the restored
document in that frame (new GPU/CPU canvas test fails without it).
- The preview canvas test skips only when the GPU harness fails before the
app callback; a panic in the app's own setup now fails the test.
- The layering check treats craft's keymap-egui as a UI feature and counts
dependency features turned on by a crate's own [features] table.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The dialog now reads "Scale Layer Effects" and its Scale row is a whole-percent
field whose arrow opens a linear 1..1000 slider, instead of the schema row's
always-shown logarithmic slider. Other wide-range rows keep their slider.
Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
Round 2 review on #15284: with the measured option set the fill asked for
11x11 patches even where no such donor window exists, so the completion
found nothing to copy and the fill answered with the smooth membrane
where today's 7x7 patch still copies pieces.
Two distinct causes, both measured at b2764ca1c on stripe buffers with
the measured options and the Rectangular area:
- a buffer narrower than the patch: at 9x9 (1 px border hole) the
radius-3 completion fills the hole with 96 channel values differing
from the membrane, radius 5 has no donor at all and the fill returned
the membrane in all 243 channel values; at 10x10 that is 108 of 300.
- a hole that uses up every window of a big enough buffer: at 18x18 with
an 8x8 centre hole there are 11x11 windows (centres x and y 5 to 12)
but the hole is in each of them, while 7x7 windows remain; radius 5
gives no donor and the fill returned the membrane, 192 of 972 channel
values away from today's radius-3 completion. (The review's 18x18 with
a 2x2 centre hole is not one of these: there the fill still completed
with radius 5, 178 channel values from today's answer.)
Change: fill_cow now hands the completion today's default radius when the
measured radius finds nothing to copy, before the membrane fallback. A
measured fill keeps its pixels borrowed and rebuilds the attempt (the
mosaic gap follows the radius); every other option set still gets exactly
one attempt, in place as before, so the not-measured pins are untouched.
`fill_cow` also gives way to named parts: variant_specs, mosaic_variants,
mosaic_pixels, window_roles, fill_attempt and fill_retry.
New tests in the file #14191 names, red before the fix (2 failed), green
after: measured_fill_on_a_small_image_keeps_todays_patch_radius,
measured_fill_falls_back_to_todays_radius_when_the_hole_leaves_no_room_for_the_patch;
guards pinning what did not change:
measured_fill_uses_the_11x11_patch_when_a_window_fits,
measured_fill_without_room_for_todays_patch_still_falls_back_to_the_membrane.
PrefSections tracks the sections a component wrote and the revision it last saw of each section, so a sync no longer compares or clones the whole section map.
Document.layers is a LayerTree that builds an id index on first lookup and drops it on any mutable access. Layer lookups and selected_layers use the index instead of walking the document.
- Both gate calls build the tests once into a nextest archive (cargo xtask ci archive); the
shards run it, and the build job runs the doctests after the upload.
- The Linux gate keeps the compiled workspace crates in a rolling cache entry
(cache-workspace-crates). A nightly cold build is its safety net; gate-cache-prune keeps the
newest entry. test (without heif) restores that entry.
- The shards split the tests with nextest's slice partition, which spreads the slow modules:
on one main run's times the non-GPU shards go from 728/493/523 s (hash) to about 602/506/625 s.
Fixes#15702
The Arbitrary rotation dialog fills its interpolation row from Preferences >
General > Image Interpolation on every opening, but the row was an ordinary
choice row, so the framework remembered a confirmed pick and applied it over
the opening values on the next opening: a one-time Bilinear choice silently
resampled later rotations, and a changed preference never reached the dialog
again. The row now opts out of remembering, like the rows beside it that the
open document supplies (angle, direction) and like Lens Blur's depth map.
The dropdown itself goes away with #14462.
Red before green: the new ui-egui test
arbitrary_rotation_interpolation_reopens_at_the_preference failed on the head
without the fix (left bilinear, right bicubic) and passes with it.
The comment on worked_on_layer still said a document switch "still records".
commit_ending identifies that switch before worked_on_layer is read: it makes the
edit's own document active, calls commit_here with by_user false, and restores
the document that was active before, so ends_an_edit is false and nothing
records. That is the behaviour the family's another-document test pins.
Comment only, no behaviour change.
The panel sends layer.select with a "layers" list when a Shift-click selects
several rows, so run_actions read no "layer" key and commit_before_selecting
got no target: it counted the click as an in-place commit, and an unchanged
session ended by selecting other rows added an "Edit Type" state, while the same
gesture on one other row added nothing. It now passes every id the payload names,
and a selection that does not include the edited layer counts as the layer switch
(#6483) it is. A range that still names the edited layer keeps the row click a
commit (#5584), which the new neighbour test pins from the other side.
Red first: the new multi-layer test failed on this head before the fix, the
history list left with an extra "Edit Type" entry.