Lens Blur's Depth Map Source names an alpha channel by its index in the
document the dialog opened on. With #15883 that index now reaches the
command, so when the control channel makes another document active under
the open dialog (`ui.window.open`), preview and OK would blur by the other
document's channel at the same index. The dialog now captures its document
at open, like Match Color captures its destination, and preview and the
held OK refuse a channel source on another document. Back on the first
document, OK applies it. A Smart Filter edit keeps its own target check.
Found by review on the integration batch.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
custom_domain_lookup_warns_and_round_trips_verbatim crossed 3 LUT domain
spellings with 6 PSD/PSB x depth containers (18 open/save chains). The
spelling only decides read_lookup's default-domain check; after that the
block is raw bytes whose stored lengths are all multiples of four, so no
spelling reaches a different container path. Each of the 6 containers now
takes the spellings in turn: every container and every spelling still runs
the whole open, native round trip and PSD/PSB re-save chain, with the same
assertions. adjust_map's unit tests still parse every spelling.
every_truncation_fails_cleanly tried every 3rd length of every seed and
random_corruption_never_panics 400 corruptions per seed. They now take the
first and last 16 lengths, every 7th length in the first 2 KiB and about
300 lengths per seed past it, and 40 corruptions per seed from a stream of
its own. PHOTOCRAFT_FULL_SWEEP=1 runs every length and 400 corruptions.
Most of the truncation time went to the RW2 seed, whose data is padded to
a 16 KiB block: about 2,300 cuts in the padding that decode the same zeros.
Each command still meets every stroke case, colour mode and mask target
once, and every command and every case, mode or target still runs at 8,
16 and 32 bits: 90 -> 30, 72 -> 24 and 54 -> 18 strokes.
Added documentation for tests affected by the shared UI port, including an inventory of removed tests and their successors. The document tracks changes related to the UI rework and provides details on test coverage and assertions.
The load-only cases of a_damaged_remembered_value_resets_only_itself
built a second, restarted app to read the repaired file. They now use
one app: check what it loaded, tick (the repair writes the file), then
reread the file through a settings store and require it to load
without section errors and to equal what the app holds. A repair that
drops other keys still fails. The cases that set state keep the
restart.
Keep actual format compatibility as the decision; no format bump or file migration. Shared build override identifies the writer; bounded escaped diagnostics retain ordinary full tags. Three real manifest regressions authored, unrun; applicable crate validation pending.
One bounded app-private record and lease after primary IPC claim; normal controlled completion clears before IPC release. No Launcher consumer, telemetry or automatic reporting. Four behavioral cases authored, unrun; new-tree compilation/native proof pending.
Reuse the SDK resolved stable Documents boundary and existing workspace injection. Reject profile overlap and escaping default-folder aliases without stable fallback. Five added regressions are authored; execution is pending.
input/hold_keys/tests.rs
The four cases share one app, so the first case's 200 % was the zoom the next three started from: their "200% from {before}" assert could pass on a view that was already there, and a row that closed the menu without applying the command would not have been caught. Each case now puts the shared view at 100 % before it opens the menu, and the case asserts that the zoom it starts from is not 200 %, so the row's own action is the only thing that can move the view - for Brush, RectMarquee and Pen as well as Move.
The assert alone is not a red test on the parent commit: with only the assert added and the 100 % start left out, the case fails at "Brush: the case starts away from 200 %", which is the inherited zoom. With both, all four tools' rows do apply 200 %, so this pins the routes rather than fixing a wrong one.
The loop body moves into tone_filter_case. Colour component view 2 keeps all six mode x kind pairs because its forbidden channel name depends on the mode; every other view runs once. target_context returns early for any Smart Filter, so every view reaches the same guard.
Co-Authored-By: Claude <[email protected]>
Unqualified source checkpoint. Current-main composition, remaining source closure and platform validation are pending; frozen Windows functional proof is separate.
A dropped pencil or block flag goes from the plain and the switched
stroke alike, so the pixel comparisons can't see it; assert the
emitted flags, as #16041's mutation list asks.
The review asked to skip the limit alert for Alt+click. Measured in the
reference application: Alt+click off a point adds a point like a plain
click, so at 10 points it opens the same alert; Alt+click on a point
deletes it without an alert. The code already does this; the test pins it.
Co-Authored-By: coqui-software <[email protected]>
Placing a color sampler on the canvas now opens the Info panel if
it is closed or hidden, without altering existing panel layout or
active tabs if already open. Placing an 11th sampler opens an alert
dialog explaining the maximum limit of 10 rather than writing a note
to the status bar.
The test built two whole apps for each of 14 system-tag cases (28 apps).
Which language a tag picks is plain logic (`system::resolve` ->
`lang_from_tag`), so every case now checks `Lang::from_pref("auto")` under
its tags without a harness, including no tags and unsupported tags falling
back to English. Drawing only differs by script, so one Latin (fr-CA), one
CJK (ja-JP) and one Cyrillic (ru-RU) case still build the app, keep the
stored preference at "auto" and find the translated File title in the menu.
Part of #15376. Fixes#16039.
A theme or language row is a fired command (app.theme, app.language) with the
choice in its parameters. The drain's dispatch refused both ids (no enable rule,
so the engine's rule answered: not available) and passed invoke empty
parameters. Both rows are enabled with or without a document, and dispatch
passes the fired command's parameters to invoke.
Trials run the whole app with and without a document: a theme fired as the
macOS menu fires it, a theme clicked in Window > Appearance, and a language
row.
pencil_tests::a_tool_key_mid_stroke_paints_what_the_stroke_paints_without_it
crossed 4 modes with 5 brush changes (56 apps). The brush is captured
once at the press whatever the mode, so History Brush keeps all 5 cases
and each Erase to History mode one: Brush and Pencil with the sampled
tip, Block with smoothing. 8 cases, 24 apps.
Start the font catalog with the craft-libs app API at launch: it polls the
suite font store and rechecks the font folders on window activation, and
wakes the UI after a change. Each frame, the shared engine registers the
installed font files it lacks and re-renders the type layers that use the
affected families.
The fired sweeps hand the command to run_fired themselves, so no test pressed the
Shift+<letter> chords: with the binding for Shift+V dropped at
shortcut_dispatch::command_rows the branch stayed green where main fails three.
New every_group_letter_shift_chord_reaches_its_group_step asserts the keymap
chord of every tools.nextInGroup row over tool_shortcuts::group_letters() on one
settled app - one lookup per letter, no frames - the Space anchor row included:
its default text `Shift+ ` parses to no chord, so it pins that nothing binds it.
Proven red by the temporary Shift+V neuter, green after restoring it.
Also in this review round: correct the bare_app comment claiming the menu
shortcut test presses these rows (menu_rows lists no tools.nextInGroup id);
collapse the byte-identical press and press_in_one_frame in the dispatch tests
into one press; split the guide rows by takes_guide || locked instead of tool
name, count all 21 rows through the three apps, and guard the keeps app idle
(no open text edit) before each row.
craft-layers keys tree ids by their Hash (craft-libs#2774), so photocraft-doc depends on craft-tracked and craft-ui-macros instead of craft's ui feature, and the layering check passes.
`reset_tip_tests::each_tool_resets_and_first_uses_its_own_tip` started 80 apps:
five per painting tool, for two menu commands (`tool.reset`, `tool.resetAll`)
and a brush swap that read the state a case had just set. The two commands pick
their rule from `fresh_brush` for the tool in front of them, so one app serves
all sixteen tools; only the first-use case keeps an app of its own, because a
tool that has been picked before is no longer seeing its brush for the first
time. Same five scenarios and same sixteen tools: 6.9 s -> 1.0 s on this box.
`shortcut_dispatch::tests::press` ran three frames after a press; the runtime
takes the key in the first and the app runs the command it fired in the second,
which is what `press_in_one_frame` and `quick_shift_press` in this crate already
do, so the third frame only drew the app again. `delete_key_targets` shares one
app per focus place across its two keys (the delete is undone, the dry-run log
is drained, and the mask case puts its selection back), and
`keys_run_their_commands` reuses the app whose presses were dry runs.
`guide_cursor_tests` built a whole app for each of its 21 rows and dragged
through four intermediate points; `hold_keys::tests` built one app per tool in
five loops and pressed a stand-in for every tool that shares one family's
decision. Both loops re-entered the same production line dozens of times while
paying for the app's settle frames each round.
- guide cursor: the rows whose press the Move tool takes, and the two locked-
guide rows, share one app; a row that moved the guide puts it back with the
ruler's own command (`view.moveGuide`). The tools that keep the command for
themselves share a second app, Type last and Crop on its own, because their
drag leaves an open text edit or a pending crop that would decide the next
row. The drag keeps two points instead of four: the guide follows the pointer.
- hold keys: one app per loop (`space_right_click...`, `command_or_alt_space...`,
`cmd_alt_drag...`, `tilde_erases...`, `space_repositions...`), a fresh layer or
an explicit deselect where a case would otherwise see the last one's pixels.
- the command-as-Move rule is now also asserted as data for every tool
(`the_command_stand_in_rule_is_the_table`), so the drags can press one tool
per decision: the vertical type tool, both path tools and the rectangle shape
share `is_type` and the `Family::Vector` line with the tools that stayed.