Main moved the tool's press and drag handling into craft-libs, so the
app-side snap_start is gone. storytold/craft-libs#4274 put the rule in
the framework's PerspectiveCropTool, which snaps through the canvas's
Snap the app already gives. Pin craft-libs at its current main, which
carries it, and port the tests to the new tool: a drag from beyond a
corner starts at it (also while dragging), one near an edge starts on
it, one inside or outside on one axis stays, Snap or Document Bounds
off changes nothing, and clicked corners stay put.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Adopt merged retained UI and paint storage across PhotoCraft
* Adapt UI inspections and preference labels to the shared revision
* Share retained-paint text inspection across UI tests
A timed repaint from the control server's thread no longer takes the UI's
pass state, so a pass can't start on an empty one and lose every command
set (tool rail icons became "...").
storytold/winit#27 (W36) landed on craft/0.30.13 at f8b490f1. Besides W36
it brings W30 (Linux: the first window takes the launcher's activation
token), CI fixes and doc-comment formatting; nothing else in the Windows
code path changes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Save... writes the dialog's values as the reference application's
settings XML (entry labels, dot decimals, the caption font's PostScript
name, spacing in inches at 72 px/in); Load... reads such a file back
through the remembered-settings check, keeping the current value for
anything missing or broken, and shows an alert for a file that is not
one. Reset... asks "Restore default settings?" and Yes restores the
defaults with no folder chosen.
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]>
The UI builds and frees many small values every frame, and the system heap's
alloc and free were about 14 % of the UI thread. Windows only: Linux keeps
glibc, tuned by malloc_tuning to return closed documents' memory (#8743).
mimalloc and libmimalloc-sys are MIT.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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]>
Windows sends an Alt code's character (Alt+0169, Alt+184) in WM_CHAR after
Alt is released. winit's keyboard builder found no key press to add it to
and dropped it as input-method text, so the Type tool and text fields got
nothing or the wrong character. Move the winit pin to storytold/winit#27
(W36), which reports that character as a key press of its own.
The pin is the PR's head, the old pin plus the two W36 commits; it moves
to the merged commit once storytold/winit#27 lands.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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]>
On that pin DockAreaOutput.window_files is grouped per window; the files dropped on a floating panel's window are
flattened before they open (as aiongg/photocraft@54911df7f5).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Pin craft-libs to the rc-integration branch and egui to the AccessKit-per-viewport branch, and follow the framework's API changes: swatch paints and the Registration kind, save answers as Picked::Saved, the Save for Web colour table as host-held shifts, Done in Save for Web, colour requests through StackDialog, zoom schemes, wheel schemes, glyph cells, face paints, preset selections, the print destination, and the command palette's search index.