Repository navigation
Conversation
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
…o arena/3182478d-lightcraft-classic Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
…o arena/3182478d-lightcraft-classic # Conflicts: # crates/ui-egui/src/panels/dialogs.rs # docs/faces.md Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
…d face GPU verdicts Manual: none, no user-visible change
Manual: People and faces, Faces and people. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Manual: none, no user-visible change Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
#1735: guard wgpu queue on device loss, deduplicate iGPU, honor cached face GPU verdicts
The AppImage catalog test (AppImage/appimage.github.io#12926) failed: winit dlopens libxkbcommon-x11.so.0 on X11 and the test system has none, so the window never opened. The AppImage now carries libxkbcommon, libxkbcommon-x11 and libxcb-xkb in usr/lib/chromaforge/ (with their licence files), and the Linux executable gets DT_RPATH $ORIGIN/../lib/chromaforge (apps/app/build.rs) so dlopen finds them and their own dependencies. The release workflow installs the libraries and checks the RPATH and the bundled files. Manual: none, no user-visible change beyond the AppImage starting where it failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-12926-review-043b25
…w-043b25 Packaging: bundle libxkbcommon-x11 in the AppImage
…anel Credit: tangentsoft Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…er-day views photo_cut searched for the largest size at which full rows keep their layout, comparing only rows that do not end their group. When every row ends its group (a photo per day), nothing constrained the size, so the search handed back the smallest one: the slider and the = / - keys capped at 90 px and Auto date grouping fell back to years. With no constrained rows there is no cut-off; the limit stays at the top. This also stops the grid from oscillating between day and year headers frame to frame, which made headless::tests::grid_groups_by_capture_date flaky since the size keys landed (#1762). Manual: Library ▸ Browse (grid size); whats-new + changelog entry. Co-Authored-By: ZCode
Review follow-ups on top of the grouping work: - Localizations: every new UI string now has entries in all 17 fork catalogs (the plain tr(...) strings were missing; the coverage tests fail on gaps, and PRs to staging run no tests). - Grouping holds a row in the activity stack: an empty scope resolves without spawning a worker, the worker reports progress, and cancelling it from the stack stops the job instead of silently restarting it. - A People selection survives a refresh that no longer lists one of its faces: retained snapshots are collected best-effort, so one stale face no longer drops the whole selection, and a face present with its box unchanged stays selected. - faces.maintain now refreshes the People listing and the faces epoch, so recognition, rebuild and clear reflect at once. - Manual: face maintenance wording for the selected-faces scope and the new Clear action; grouping notes its activity row. Co-Authored-By: ZCode
…ft-classic Issue #1732: add On This Day Memories
…ft-classic Group unknown faces and scope face maintenance to People selections
…ca82 Cmd/Ctrl+K focuses the Add Keyword box
…s to its row The Classic Catalog panel's row painter translates only the ids it lists, and `memories` was not among them: the row stayed English in every language (tests_i18n_sweep failed on all three OSes in the staging → main batch). The new row also moved the Local rows down by one row height, which put the row that tests_sync right-clicks under the bars at the window's foot on Linux and macOS (more Local rows than Windows). The test now scrolls the sidebar until its row is in the upper half or the sidebar is at its end, so it no longer depends on how long the sidebar is. Checked at 700–1200 pt heights. Manual: none, no user-visible change (On This Day is unreleased). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Record GPL-3.0-or-later consent from Kaan88
lcc_develop::apply_partial returns the settings unchanged when the merge rejects
the partial. A Lightroom photo whose mapped settings the develop engine rejected
was therefore marked edited and dated with nothing changed, without a warning,
and its history steps and snapshots became copies of the base settings.
New lcc_develop::try_apply_partial returns the error; apply_partial keeps its
contract on top of it (presets and sync are unchanged). The importer's own
settings go through apply_mapped: a rejection is an error like an unmappable
settings table, so the photo is left unedited and warned about ("the develop
engine rejected them (...); imported without its edits"). A rejected history step
or snapshot is skipped and counted in the existing warning, now "could not be
read or applied".
Tests: try_apply_partial errs at 100 % and blended, not at 0 %; a rejected
history step and snapshot are skipped and counted; apply_mapped turns a rejected
partial into an error, passes a mapping error through and keeps unmapped keys on
success. Each fails with apply_partial put back.
Manual: library/import-sources.mdx.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A photo with more Lightroom history steps than History keeps (HISTORY_LIMIT, 200, the final "Lightroom catalog" entry included) lost its oldest steps without a word, and the report's historySteps counted only what was kept. history_steps now returns how many it left out, and the import warns per photo: "History keeps the newest 200 steps; the oldest N Lightroom step(s) were left out". Tests: history_steps at limit-1, limit, limit+1 and limit+50 (count left out, newest kept), and the final entry taking a slot; an in-memory import at and past the limit (History, report count, warning text). The SQLite fixture writes one page per table, too small for 250 steps, hence in memory. Each fails with the count dropped. Manual: library/import-sources.mdx. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… rules #1589 item 9. A sidecar save already removes an older full exif:DateTimeOriginal when the capture time is a year or a month alone (it would outrank photoshop:DateCreated on the next read), and removes the GPS tags still stating a position cleared in the app. Update DNG Preview & Metadata and Immich sidecar push merged through merge_packet, which used only the always-owned rules, so in the DNG's embedded XMP and in Immich's sidecar the old full date won again and the cleared position stayed. The rules now live in one place, sidecar::merge_save (GpsOnSave, the partial capture time, OWNED/OWNED_IF_STATED), used by the sidecar save and by the new SavePacket (the photo plus its packets with and without GPS), which Update DNG (Item.xmp) and Immich push (FullSidecar.save) merge through. merge_packet is gone; its tests use SavePacket::plain. Not covered here: the DNG's own Exif date and GPS IFD, which also outrank the XMP on read (FX-62, an open question in #1589). Tests: merge of a year-only date + cleared position (and a different position that stays, a full time that replaces), and Update DNG end to end. Both fail with the old rules put back, pass with the fix. Manual: library/library-tools.mdx (Update DNG), sync/immich.mdx (sidecars). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ests #1732: translate the On This Day sidebar row; Synchronize test scrolls to its row
The originals guard refused a new file only when it had a sidecar's name
(check_new). Exporting `{name}` in the original's format into the folder of a
catalogued original that is missing wrote the render at the catalogued path,
which the library then read as that photo's original (edits applied to
developed pixels; a later Original export copying the render).
OriginalGuard::check_new now refuses any new file named like a catalogued
original or its sidecar in that file's folder (folders by identity, or by path
when one is not there yet). OriginalGuard::claims tells the export's placement
such a name is taken, so Add number moves on, Skip skips, and Overwrite refuses
it, as for an original that is there. Session::check_write_target (presets,
keywords, mask effects) looks such a name up too; its fast path for an ordinary
free name stays.
Not covered: originals catalogued while a long batch runs (a watched folder or
auto-import into the destination). The guard is a snapshot taken when the batch
starts; protecting those needs the guard to see the catalog live, a question in
the umbrella issue.
Test: a second photo of the same name exported as `{name}` into the folder of
the first, whose file is gone, under Overwrite (refused, with the reason), Add
number (IMG_1-2) and Skip (skipped); check_write_target refuses the path. It
fails with check_new back to sidecar names only.
Manual: output/export-location.mdx.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
An Original export writes its edits in a stem-named sidecar (`IMG_1.xmp`). Under Overwrite, exporting `IMG_1.jpg` into a folder holding another program's uncatalogued `IMG_1.NEF` and its `IMG_1.xmp` replaced that sidecar (the other program's edits), although `IMG_1.jpg` itself was never there; the originals guard covers only catalogued files. Overwrite replaces an earlier export. A sidecar name that is there while the exported file is not, beside another file of its stem (any case, not an .xmp), is that file's sidecar, which an earlier export of this one would not have left: the export takes the next number whose file and sidecars are free or are its own earlier pair, so a later Overwrite replaces that one instead of adding -3, -4. A sidecar with no file of its stem beside it is still replaced, as issue #93 asked (its test is unchanged). A folder that can't be listed answers as before. Test: IMG_1.NEF + IMG_1.xmp in the folder; two Overwrite runs both write IMG_1-2.jpg/.xmp and leave the other program's sidecar alone; with IMG_1.jpg there, Overwrite replaces it as before. Fails with the rule removed. Manual: output/export-location.mdx. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The `.lrtemplate` importer left `metadata` at All for an embeddedMetadataOption its table doesn't know (reported only as "metadata `x`", without saying All applies), and dropped a removeLocationMetadata that was neither on nor off without a note. The lenient ExportOptions::from_json, which reads stored presets, the last export and dialog prefill, turned an unknown `metadata` into All and a non-boolean `removeLocation` into false. Now the privacy keys fail closed. Importer: an unknown or unreadable metadata option becomes `none`; an unreadable removeLocationMetadata or removeFaceMetadata becomes on; each is named in the import report with what applies. from_json: a `metadata` that is there but not a known policy is None, a non-boolean `removeLocation` / `removePersonInfo` is true; absent or null keeps the default, as before. from_params (which refuses all of these) is unchanged. Test: unknown and non-string metadata options, unreadable remove-location and remove-person-info, known and absent values, through the importer and from_json. It fails with either reader as it was. Manual: output/export-presets.mdx. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
An export queued behind another (the "Waiting to export" row) refreshed only the originals guard when it started. Everything privacy-related was fixed when it was prepared: a render's metadata (keywords and their export flags, location removal for private places), and an Original's or DNG's packet, location removal, cleared position and private places. A location marked private, a position cleared or a keyword set not to export while the export waited still went out. PreparedExport::refresh_privacy takes those decisions again from the library as it is now; the queue calls it next to use_guard. Work::File keeps the options it was prepared with (each item its own, also in a batch of several presets) and a refusal: a video clip's original that must now lose its location is refused when it runs, as prepare refuses it. A photo removed from the library meanwhile keeps what it was prepared with. Test: a render, an Original copy and an untouched render prepared while nothing is private; a private place and a keyword set not to export are added; after the refresh the render carries neither and the copy is refused, while the untouched one shows what was written before. It fails with the refresh a no-op. Manual: output/export.mdx. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Update DNG and Immich sidecar push merge by the sidecar save's rules (year-only dates, cleared GPS)
Lightroom import: warn when History can't keep every step, and don't mark rejected settings as an edit
The guard now refuses a missing original's path, and Edit In relied on writing there: when a photo's `-Edit` copy has lost its file, Edit In renders into that same name and the import relinks the copy, so the editor gets a file that exists and nothing is orphaned (external_edit_again_hands_over_a_file_that_exists_when_ the_copys_file_is_gone, which the full engine run showed failing). Destination::restores names the missing originals an export writes again on purpose; the guard and the placement's "taken" check let exactly those through. Edit In fills it with the photo's own `-Edit` copies whose file is gone (the names it already recognises as its copies); every other export leaves it empty, so any other missing original's path is still refused. Destination literals that listed every field use `..Default::default()`. Manual: none, Edit In behaves as before. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…privacy-fail-closed
Map the criteria Cf already has a field for: shutter speed (stored as log2 of 1/seconds, so comparisons flip), flash fired, camera serial number, alt text, folder words, any searchable text, has GPS, has edits, cropped, treatment, aspect ratio, copyright status and the cropped long edge, short edge and megapixels. Sublocation now maps to Cf's Sublocation instead of Location, numeric colour labels (1-5) import, and yes/no criteria stored as isTrue / isFalse map. Has Adjustments no longer maps to Has Edits. A table test covers every smart collection of the two Lightroom test catalogs (243 rows), plus a table of mapped and static rules per criterion. Manual: library/import-sources Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…o of the view Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Issue #1789: Double-clicking a smart collection opens its editor
Issue #1787: Lightroom import: map more smart-collection criteria
A waiting export takes the library's privacy choices when it starts, not when it was queued
…closed Export presets: an unreadable metadata or privacy value means private, and the import report says so
Export: never take a missing original's place, never replace another program's sidecar under Overwrite
…-no-selection Issue #1791: With no photo selected, ← and → select the first and last photo of the view
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nightly batch of
stagingintomain(5 merged PRs, 26 commits).🤖 Generated with Claude Code