Pin craft-libs main baf6de31 and egui 399fc6e0: background on resize, one paint per step, cheaper accessibility updates (#18917, #18929, #19072, #18825, #18799)
craft-libs main (baf6de31) carries the crop batch's craft-libs half: Triangle and
Golden Spiral share one orientation counter, so choosing Triangle from the menu keeps
the Golden Spiral's 2 instead of starting at 0. The same change as in batch #18875.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
craft-libs main pins winit 3fd7ae64, which adds WindowExtWayland::activate_with_token;
egui 399fc6e0's windowless root calls it on Linux. The KDE blur protocol moved behind
an opt-in feature there, so wayland-protocols-plasma leaves the lock.
craft-libs 154650a42 made UnsavedChangesDialog a builder that takes an opened binding;
the dialog host now holds a HostedUnsavedChangesDialog, which reports the same
UnsavedAnswer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The batch's craft-libs pin carries #4055 (trilinear Lab BToA tables,
regenerated Coated FOGRA39), which moves the inks the CMYK colour
replacement stores by a few levels. Repin the values CI reported, and let
the multi-row tests report every row that moved instead of stopping at the
first, so the remaining rows can be repinned from one run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pin moved craft-libs past #4055 (Lab PCS BToA tables interpolate
trilinearly, regenerated Coated FOGRA39). Round trips through the CMYK
profile drift a little more: the FOGRA39 reference check takes craft-cms's
own 2.5 % limit, the CMYK round-trip checks a little more room, and the
pinned colour-replacement inks report all four inks so they can be repinned.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first test now saves the slot memory as a frame does, so it also fails when Reset All Tools
leaves the saved preference behind. The layout test starts from a non-default toolbar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main moved Window > Workspace onto the framework's WorkspaceSet (#15449): the toolbar's width is now
its dock column's steps and toolbar_double is gone. A reset already restores a built-in's one-column
layout; choosing a built-in workspace now carries the toolbar's column count over, and a saved
workspace keeps its own. The tests now check the toolbar column's steps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep main's memoized toolbar footer and gate its three items on the Show flags inside footer_now; the footer's version holds the settings revision, so a flag write refreshes it. docs/scorecard.md takes main's counts plus the four new toolbar leaves.
craft-libs#4735 got a ui-contract commit (status node keeps an announcement
until a tree holding it could have been handed over); egui stays at c0ce6a6e.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With PHOTOCRAFT_FULL_SWEEP=1 corpus_round_trips_through_layered_tiff ran
every PSD of three corpora in one test: 290-400 s on the nightly Linux
gate and a 600 s timeout in run 45539165027. The full sweep now runs as
four parts (every fourth file each, each checking a quarter of the floor);
every file still runs once. The psd-tools sample stays whole in part 0
with its floor of 20.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
banded_layers_write_the_bytes_of_whole_ones ran five export matrices (RGB
8/16/32, CMYK 8, Lab 16) in one test: 33-55 s on the Linux gate, up to
462 s on a loaded pod, and a 600 s timeout in run 46298320461. The body is
now a helper called by five tests, with every case and assertion kept; the
scratch folder name carries the case so parallel threads don't share it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The external SVG portal test's client gave every D-Bus call 2 s. Its fake
portal answers OpenFile from its own thread after reading the shared file;
on a loaded CI pod the call took longer, so a working call failed (run
46849499194: 4 s against 0.3 s on green runs, the code 0 response read as
an error). The timeout now only bounds a broken test (60 s), and the
assertion prints the error it got.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a loaded CI pod the fake hung `lpstat` shell was killed at the 300 ms
deadline before it wrote its pid file, so reading the file failed with
NotFound (run 46908834939). The deadline now grows (300 ms, 2 s, 10 s)
until the shell recorded its pid, and the pid file is renamed into place
so it is never read half written. Every attempt still asserts the listing
is given up at its deadline and the hung process is killed and reaped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
recent_thumbnail_recheck_interval_avoids_per_frame_disk_io needed two
revision reads within the 10 ms test interval; on a loaded runner deleting
the file took longer, the second read statted again and the test failed
(run 46983874718). The interval is now a ThumbnailCache field (default
RECHECK_INTERVAL, so the app is unchanged) that the test sets: an hour for
the read inside the interval, zero for the read after it. No sleep left.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
settle_pages stopped as soon as every wanted page was held and no work was
outstanding. A quick preview counts as held, and its exact page starts on a
later frame once a page worker is free, so on a loaded runner the test read
the pages while they were still previews; the exact upload during the tab
switch then reordered them and "no churn on a switch" failed (runs
46638880944, 46939677017). settle_pages now waits until every wanted page is
exact and current (test-only Stream::settled).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The single test ran 16 adjustment kinds in 6 document settings (96 cases) in
series; on the loaded Linux gate it took 100-240 s when green and hit the
600 s kill in 6 main runs since 2026-12-02. Each setting is now its own test
(module every_adjustment_layer_edits_through_properties, a macro per
setting), so nextest runs them in parallel. The case body is unchanged and
every kind still runs in every setting. The nextest priority filter and the
shard times follow the new names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test guards against a warp that never finishes. One 120 s limit for all
24 warps took 45 s on a quiet Linux gate pod and ran out on loaded ones
(runs 46778374176, 46817118912). Every warp and both pools stay; the main
thread now waits up to 120 s for each warp in turn.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a loaded CI pod the first pause's one-second backoff ran out while the
tiles were still being written, so its own retry paused again with 2 s
before the test read "retrying in 1 s". The test now checks a pause with a
backoff, and that the forced retry announces a longer one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each move solves a fill over the whole canvas; three or four of them in one
test ran past the CI profile's 600 s limit on the Linux gate. Every case and
assertion stays. The nextest priority list names the colour tests' module and
the large-selection preview test by its current name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hostile_modules_fail_quickly asserted a fixed 15s bound per hostile
module. What stops each module is deterministic (instruction budget,
memory cap, recursion cap, trap, load-time check), but on the loaded k8s
gate pods the same fuel budget took 5s for "infinite loop" and 16s for
"memory.grow forever". The test now asserts the error each module ends
with: the budget cases must end with "instruction budget", so a module
that only the host's wall-clock deadline (Limits::wall_time_ms) stops
fails here, and every case must stay inside that deadline.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each test creates the link's token file, which craft-libs makes through
whoami and PowerShell with a 10 s limit. On a loaded Windows runner that
ran out and all three tests failed together.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The two tests that solved all 77 Structure/Color cases of a spot ran past
the CI profile's 600 s limit on the Linux gate. Each Structure is now its
own test with the same 11 Color cases and the same checks, so nextest
spreads them over the shard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Session::precheck covers layer.new.layerFromBackground (PRECHECKED), but
the New Layer dialog's values added in #19175 (name, color, mode, opacity)
and the greyed-mode refusal were only checked when the command ran, so
precheck_agrees_with_execute failed. Precheck now checks them the same way,
plus the colour mode that ifPresent leaves to the command.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The video timeline lists a track for every layer except the Background,
each with one clip from frame 0 (a video layer's as long as its footage,
others across the whole timeline), then the empty audio track. The list
is read from the layer stack, so Layer from Background, Undo and
Background from Layer change the tracks in the same history step.
timeline.info reports the tracks; the Timeline panel draws them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In Grayscale and Lab documents a menu request (the menu path, ui.menu.invoke)
of layer.new.layerFromBackground with a blend mode the document greys opens
the reduced New Layer dialog with Mode Normal and the request's other values,
as the reference application does. OK converts with Normal; Cancel leaves the
Background and History and says it was cancelled. engine.execute and the
headless CLI/MCP keep refusing the mode by name; RGB 32-bit (not measured)
keeps the refusal too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Restores the test the earlier commit removed, now asserting that a
full-canvas pixel layer opens the canvas around the boards with or
without a Background, and adds a check that an adjustment layer leaves
the view as it is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#18164 is in the batch branch now, so Image > Mode > Multichannel keeps
the Background row and the test no longer needs a hand-built fixture.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The New Layer dialog, its reduced Layer from Background form and the
layer.new.layer / layer.new.layerFromBackground commands now grey and
refuse the modes the reference application greys in Grayscale 8/16/32
and Lab 16-bit documents, from a layer-mode table kept apart from the
Fill, Stroke and Fade one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
layer.new.layerFromBackground takes name, color, mode and opacity (the
names, values and ranges of layer.new.layer). Without params the menu
entry, the Layers panel's menus and a plain double-click on the
Background row open the New Layer dialog without its neutral-fill row;
Alt+double-click and the lock icon still convert at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Background row that Image > Mode > Multichannel now keeps is selected and
holds no pixels. Pixel commands that used to find no active layer (paint,
fill bucket, filters, adjustments, Clear, retouch and eraser tools) took it
as their target, reported success and changed nothing; a brush stroke also
allocated transparent tiles, which turned the document off the ink path for
Edit > Fill and flat export. They now refuse with a reason that points to the
channels (a targeted channel is still edited), and transparent tiles no longer
count as layer pixels.
Part of #14818. Issue #18164.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The align bar in the options bar and in the Properties panel is a memoized
view keyed by the enabled state of each align and distribute action, the
language and the settings revision, so a command that changes none of them,
such as a layer's opacity, replays it while the bar around it runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The section is a memoized view keyed by everything it shows (the layer, its
box, the unit, the document's size and resolution, the link, the tolerance,
the settings revision and the language), so a command that changes none of
them, such as a layer's opacity, replays it while the panel runs. The field
edits are applied in the section's run, so a replay applies none.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
egui#89 hands the accessibility tree to the platform adapter at most every
100 ms, at once when keyboard focus moves; it is stacked on egui#85.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
egui#86 and craft-libs#4745 are dropped: their saving appeared only
while the system pointer was over another app's window, which is how
the benchmark ran; over PhotoCraft's own window both calls cost
nothing measurable.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A cursor image is set on the window only when it changes (egui#86), and
the DPI under the pointer is kept per monitor instead of finding the
window under it before every pass (craft-libs#4745, on #4735).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
craft-libs#4735 now moves only the egui pin, on top of 315ddf9 (the
commit #18828 pins), instead of on craft-libs main, whose newer changes
fail the CMYK pattern fill round trip test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
During a resize the accessibility tree goes to the platform adapter at
most every 100 ms (egui#85, stacked on egui#84).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A resize step on Windows runs the app once instead of twice: the
system repaint that follows the resize paint is skipped (egui#84). The
egui head also carries egui#81 and egui#83.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A dialog that remembers its place writes its framework section on every
frame of a move or resize. PrefSections::sync stored it with edit_prefs,
which moves the settings revision every panel version holds, so the dock
rebuilt all its panels each frame and the engine re-applied its
preferences. No view reads the sections from the preferences, so they
are now stored with PrefsStore::remember: saved, no settings revision.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every preference edit ran scratch::configure, which re-measures memory,
probes the scratch folder and restarts a paused disk's backoff (about
17 ms on a machine with a full scratch disk). A dialog with a remembered
place edits the preferences on nearly every frame of a drag, so the drag
ran at a third of its frame rate. apply_prefs now keeps the settings it
configured and configures again only when they change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without a Color row, the picker's answer reached Fill only in the next dialog
pass, so a Fill OK right after the picker's OK (an agent's next request, or
framework_dialog_dropper_keeps_native_model_values) filled with the old
colour and the new inks did not match it. The picker's OK now writes the
colour into its parent's field with the inks, keeping a row's opacity.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The new craft-libs pin makes SystemWindows report the physical mouse buttons on Windows. Integration
tests build ui-egui without cfg(test), so their scripted presses ended as lost releases. Same change
as in #18632.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>