Files
lightcraft/crates/engine
aa52251d2e Apply Auto settings to every selected photo (#3808)
* Apply Auto settings to every selected photo

Users expect Auto and preset application to affect the whole selection, as Quick Develop already does. `develop.auto` is the only edit command in that file that hard-codes the active photo instead of the selection.

Make `develop.auto` accept the same target rule as the other selection commands (`ids` when given, else the selection), analyse each target photo's own source with `auto_tone`, and commit the results as one batched undo step labelled "Auto".

Test: auto_applies_to_every_selected_photo failed before the change and passes after.

* Run multi-photo Auto settings off the UI thread

Assisted-by: OpenAI Codex

* Auto Settings: skip unreadable photos and refuse stale results

One offline photo stopped Auto for the whole selection. The background
result is checked against each photo's settings, because an undo changes
them without a commit, and it commits through the command wrapper so sidecars
and the durable save follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Auto Settings: a wrong photo id is refused, not skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: eliets2 <287273517+eliets2@users.noreply.github.com>
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 22:12:18 +01:00
..