Conflicts:
- options_bar/fill.rs: main's HealingReplace arm joins the Paint Bucket's
mode match, which writes only when the mode changes.
- retouch_ui/bar/tone.rs: Finger Painting keeps its tracked binding;
main's pressure-for-size switch follows it.
* fix: mark duplicate images unsaved with their own history state
* test: use engine save API for duplicate close regression
* test: install commands for duplicate history cases
* test: keep duplicate history fixture core-only
The merge kept both import lists in channel_cmds/view.rs. Main moved the
code that used AlphaChannel, Color and ColorIndicates out of this file,
so clippy -D warnings failed on unused imports.
Conflicts:
- Cargo.lock: kept photocraft#17149's lock. F6's a5e476b933 committed a lock the local patch file had rewritten.
- panels/region_versions.rs (no textual conflict): F6b deleted `serialized`, which F4's canvas version still uses for
the UI state that has no `Hash`. `serialized` stays; the canvas version reads the tool options through their
revision instead of serializing them.
PhotoCraft turns on the framework's pointer-move gate
(storytold/craft-libs#3801, storytold/egui#65): a move with no button held
runs a frame only when what lies under the pointer changes, a drag runs, or
the pointer is over a canvas, which follows the pointer (its cursor, the
rulers' marks, the readouts). craft-libs and egui are pinned at those PRs'
heads.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Settings saved before the checkbox (#14243) held one number, with 1 meaning off. Any number up to 1
loaded as the box off with 1.45, so a hand-edited 0.5 was silently replaced and not reported. Only
exactly 1 is the off sentinel now; a smaller number is reported as an invalid preference and loads
as 1.45 with the box on, as an out-of-range value in the new format does.
The flyout rows check the shown tool and draw no empty ring before the
others (#17102). The new pin also carries:
- a list's toggle cell reports one access node, a CheckBox when it is
one (craft-libs 73743edd0): the Brush Settings test clicks the
Enable Scattering check box by that role;
- a color row with opacity (craft-libs 39a7ddf9d): four numbers read
back as the fields' f32 Rgba value, so the printable-area test
compares the area within f32's precision (file.print allows 2 pt).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Blend Text Colors Using Gamma was a 1.0 to 2.2 slider where 1.0 meant off, so turning it off and on lost a custom value. ColorSettings now keeps the field's value (blend_text_gamma, 1.00 to 3.00, two decimals) and the box (blend_text_gamma_on) apart; text_gamma() is what the compositor blends in (1 while the box is off), and the compositor takes up to 3.00. edit.colorSettings still takes a bool for blendTextGamma (the box alone) or a number in range (the value, and the box checked), plus blendTextGammaOn. The dialog shows the checkbox with the field beside it: typing a value checks the box, focusing does not, an out-of-range value alerts "A number between 1.00 and 3.00 is required. Closest value inserted." and an emptied field puts its value back. Settings saved as one number still load: 1 as the box off with 1.45, any other value as the box on with that value (#14243).
The Appearance page's Size pick was dropped: appearance_row copied back
only the mode and the theme slots, so the row showed Compact again on the
next frame. PhotoCraft also kept no size, sent none to the suite and never
gave the root a density.
Add interface.density (compact/comfortable), drawn by the Appearance page,
kept in step with the suite's shared size like the mode and themes, and
set as the root's density each frame.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The engine keeps its English message for automation clients, now as
`atn_cmds::CAF_CUSTOM_AREA_NOT_REMEMBERED`. When a step fails with it, the
status bar shows the shell's literal `tl!` copy instead, so the recovery
instructions follow the UI language and the translation coverage report
lists the key.
The workspace remembers Custom sampling but not its painted area (Custom
reopens empty), so an empty recorded step had no area to sample and failed
with the command's parameter error. It now stops before filling with a
message that says the Custom area isn't remembered and how to go on, and
never falls back to another sampling area. The document and the remembered
settings are unchanged.
craft-libs 5c30761a (next, with craft-libs#3599): a settings change
(agents off and on, another port) reads the agent token file again
instead of reusing a token from an earlier failed start.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Move craft-libs to the newest `next` (83a63bca, with craft-libs#3579)
and egui to the revision `next` pins (b9770908).
craft-libs#3579: the agent link no longer retries a refused token file
every 5 s from the UI thread (each try started whoami and PowerShell,
~300 ms), replaces a token file an older PhotoCraft wrote without
restricting it on Windows, and reuses the checked token when it retries
a taken port.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
An Indexed Color document is written over its colour table by palette_map, which adds its RGB profile
(resource 1039) and returned before the embed_icc check, so Layers to Files with Include ICC Profile off
still wrote the profile into an Indexed document's PSD or PSB (#13973). That path now drops the resource
when embed_icc is off. Indexed PNG, BMP and GIF never carry a profile, and its JPEG and flat and layered
TIFF already followed the setting; the new test covers them too.