Skip to content

Round 3a integration: 42 PRs of #2580, built and tested locally - #2689

Merged
aiongg merged 238 commits into
storytold:mainfrom
francoisgn:round3a-integration
Oct 24, 2026
Merged

aiongg merged 238 commits into
storytold:mainfrom
francoisgn:round3a-integration

Conversation

@francoisgn

@francoisgn francoisgn commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Round 3a of the integration plan (#2580), as @aiongg asked: the whole lot merged into one branch, built, CI'd and run locally. 42 PRs of lot 3a (the 44 minus #2494, merged upstream meanwhile, and #1868, withdrawn) plus 5 of our own PRs checked on real data the same way (#2550, #2593, #2032, #2685, #2701), merged one by one with --no-ff, so each PR's own commits and authorship are kept, on top of main 0.13.0.

How it was checked (macOS 27.2, Apple M4)

Per PR

PR head what how it was checked
#1287 2525613e3 LR-PREF-GENERAL: the Settings window is one size on every ta headless: Settings one window, languages wrap
#2076 f76680dc3 LR-LIB-RATING: one shared star rating for every rating on sc headless: same stars/flags in grid, filmstrip, bottom bar
#2077 562655064 LR-BEHAV-BG-TASKS: one progress bar, spinner and busy button tests (tests_progress); job ended before the capture
#2195 66a4cf8a5 MENU-BAR: menu switches are named for what they show, and no menu tree: no checked switch named "Show …" (+ integration fix with #1313)
#1313 c9013a871 Help ▸ Debug ▸ Show Frame Rate: a frame-rate display for wat headless: Help ▸ Debug ▸ Frame Rate HUD drawn
#1914 2f88d847f LR-BEHAV-DIALOGS: optionally close a dialog by clicking outs by hand (owner, on 4a6c43ce0): off by default, click outside closes when on, drag released outside keeps it; the later commit (a click that closes an open dropdown keeps the dialog) by its test only
#1979 ef6e62449 LR-EDIT-COLOR-GRADING: a wheel drag holds the pointer and pu by hand (owner): pointer hidden during the wheel drag, back at the press point, Esc gives it back
#1922 6c17d29ae LR-VIEW-ZOOM: a middle-button drag pans the photo whatever t test tests_canvas_pan (real middle-button events, headless, now whatever the tool); not with a physical mouse
#1074 6b4c19219 LR-VIEW-ZOOM: diagnostic overlays render zoom windows; soft headless: Visualize Spots at 200 % renders a zoom window (1536×1024 of 4592×3056)
#2501 52ff2b5c4 LR-VIEW-INFOOVERLAY: the info overlay clears the macOS windo by hand (owner): overlay below the macOS window controls, stars + flag shown
#2327 aa729d28e #2312: culling goes on from a photo rated out of the view CLI: rating the active photo out of a 1-star filter moves to the next photo
#2345 206d73e89 feat(shortcuts): Lock Aspect Ratio as a listed row on A headless: Keyboard Shortcuts lists Lock Aspect Ratio = A
#2513 6677edd10 KEY-GRID: show the cycle shortcut in the View menu (#2500) menu tree: Photo Grid / Square Grid show G
#2279 54df21cb0 LR-LIB-CULL: adjustable burst gap and similarity in Assisted headless: Assisted Culling shows the burst gap (10 s) and similarity (0.930) sliders
#1417 6f9f7dd7e Edit in PhotoCraft: say why it didn't open; find PhotoCraft by hand (owner): toast explains PhotoCraft isn't installed (menu and thumbnail context menu)
#2468 218e7451c Print: Japanese photo and postcard paper sizes (L判・2L・KG・はがき CLI: print.set L判 → 89 × 127 mm page; unknown names refused with the list
#2430 fb39a00d8 fix(web): import picker accept list misses many raw formats headless Chrome: picker accept list has every import extension in both cases
#2455 a136fb5bb Web: lightcraft.command refuses params that aren't a JSON ob headless Chrome: {ids: [3]} rejected, nothing run; '' and 'null' = {}
#2453 45f61ef5e Web: the page title names the open photo and unsaved changes headless Chrome: title names the photo, " •" while unsaved, cleared once stored
#2506 2292a91dd Edit Capture Time leaves a capture time it can't fully read tests (dates.rs)
#1846 dc2db90f7 i18n(pl): finish the format messages, counts right for every headless: Polish UI; 3-way merged with main's pl strings
#2205 8ec606c65 LR-IMP-DRAGDROP: files dragged over the window show what a d by hand (owner): Finder drag shows the drop card, drop opens the review, the setting restores direct import
#2015 3734c22fa #1944: keyword.export refuses library originals and writes d CLI: keyword.export onto an original refused; to a new file writes the hierarchy
#2422 6b8cb9826 PERF-SMART: count every smart album once per pass, not once tests
#2424 482fd96ff LRC-LIB-SMARTCOLL: the move engine for reordering smart albu tests (engine only, no UI yet)
#2503 6234a0c91 LRC-LIB-MISSING: the availability worker sweeps a list of fi tests
#2502 2303dc44c LRC-LIB-IMPORT: month names in date templates (%B January, % CLI: copy-import template {date:%Y}/{date:%B}-{date:%b} → 2014/April-Apr/
#2482 848859b63 LR-MERGE-HDR: full-size alignment refinement and local align tests (modules not wired yet)
#2542 0cdbc6c15 Write exact 1/N EXIF ExposureTime for fast shutter speeds tests (no corpus raw has a 1/12800-type shutter)
#1878 8120d5a86 LR-MERGE-HDR: click the merge preview to zoom in, drag to pa headless: merge preview click zooms on the point, drag pans (3 raws)
#2302 10c4d0c0a Gap 9: cargo xtask ci on every PR (Linux x64); ci --quick; o cargo xtask ci --quick --base upstream/main green; ci.yml not run (needs GitHub)
#2541 ff101914b Make control-server timeout tests independent of client resc tests
#1385 589591879 Issue #1184: a pull request template file present (template)
#2507 e8c59ef11 docs: fix four dead links in README.zh-hans.md no dead relative link left
#2255 64ac2cb31 Contributors: add my name for the About window people.toml entry (redone by hand after a bad keep-both)
#1859 b2305da45 Workspace rust-version is 1.95, what the workspace needs (#1 rust-version = 1.95, ui-egui inherits it
#1976 67fa3dbb2 GUM-3201: Reduce guided-filter coefficient allocations tests (exact comparisons)
#1464 7a90a9e2c Bump quick-xml to 0.41 (RUSTSEC-2026-0194, RUSTSEC-2026-0195 Cargo.lock: quick-xml 0.41.0
#1499 8d71b7999 Fix graphic watermark aspect/orientation and HDR JPEG file-s CLI: 1:4 graphic watermark keeps its aspect; limitKb 250 → 220 KB
#1644 db5e43854 fix(gpu): no popup when renderer falls back from DX12 at pro not testable here (Windows DX12 probe)
#2072 0cfc70b2f Export: add Thai glyph fallback only (#2052, partial) CLI: watermark with Thai + Latin + CJK renders (craft-fonts)
#1603 193d29482 LRC-LIB-KEYWORDS: the Keyword List marks a keyword that has headless: Keyword List dot on the parent of an applied keyword

Added after the first push (our PRs, each with a Real-data check comment on its own thread)

PR head what how it was checked
#2550 c21714a37 Dehaze no longer crushes dark pixels (#2504) Metal: dehaze + GPU equivalence tests; D850 NEF at Dehaze +80 vs main
#2593 215e8d45b French review, first batch (gap 21) 32 strings vs main; French UI headless
#2032 ae8e8053d Presets Favorites (#1999) headless: two starred presets → Favorites section on top
#2685 097a350e1 Lightroom import asks where the catalog goes (#2672) real catalog (2,740 photos): new library / merge / Don't ask again / Open Library offer; lightroom_destination 16/16 on macOS
#2701 142e496f5 Choose which library opens at launch (#1290) by hand (6/6, scratch profile); CodeRabbit rounds handled: recent-library checks moved to workers, a failed open never marks a library missing, photos dropped while no library is open wait for the one opened (presets are refused then), no toast on frames with nothing dropped, a failed lookup isn't "not found" and found libraries aren't re-checked on a timer

What the integration itself changed

Worth knowing before merging

Superseded duplicates (per #2580)

#2580 replaced #2436's keepers for three sets; once this merges they can be closed:

Merging closes #1944 (#2015), #2212 (#2430) and #1999 (#2032), as their PRs say. On #2212: listing .NEF in both
cases targets the Edge report (a case-sensitive match hiding upper-case .NEF), but nobody has tried it on Edge, and
the issue's second suggestion (a message when a picked file isn't imported) is in none of the three PRs.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Choose a library at launch, manage recent libraries, and choose where Lightroom catalogs are imported.
    • Drag and drop photos and presets with clearer guidance; adjust burst-grouping thresholds; zoom and pan Photo Merge previews; and print on Japanese paper sizes.
    • View frame-rate diagnostics, use expanded editing overlays and soft-proof gamut warnings, browse starred presets in Favorites, and lock crop aspect ratio.
    • Use month-name rename tokens, see nested-keyword indicators, and pan zoomed photos by dragging.
  • Bug Fixes

    • Improved selection after edits remove photos from a view, capture-time handling for unreadable dates, and feedback for failed imports and editor launches.
    • Improved export orientation, watermark placement, image alignment, and rendering behavior.
  • Accessibility & Localization

    • Updated interface labels and translations, with clearer progress indicators and rating controls.

emmertex and others added 30 commits October 12, 2026 05:21
…on the GPU

Visualize Spots, Point Color range and Visualize HDR are drawn on the
loupe's 1:1-8:1 window like mask overlays: the range and HDR views act
per pixel, the spots high pass reads within the window's margin. New
pipeline test: each overlay's window equals the whole-frame render's
pixels. The GPU finish kernel now soft-proofs output-space proofs
(destination and display gamut warnings) like the CPU; an output-device
profile's table still renders on the CPU. New GPU equivalence test.

Stacked on pr/zoom-detail (storytold#1027).

Sources: own design.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
.github/PULL_REQUEST_TEMPLATE.md asks for what the people merging ask for
most in their comments on past pull requests: the issue it fixes, overlap
with other open pull requests, whether existing edits render differently,
the shared version numbers it takes, where decoder and camera data came
from, and new dependencies or CI changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s PhotoCraft on macOS and Linux

- Every Edit In failure toasts, from the menu, shortcut, context menu or
  control channel (the context menu dropped errors, and a failed copy step
  went unreported).
- macOS: PhotoCraft is looked for in /Applications, ~/Applications and via
  Spotlight (bundle id or bundle name); a missing app is reported instead of
  always handing `open -a PhotoCraft` the file; `open`'s exit status is
  checked and its message shown.
- Linux: a desktop entry whose Exec is a bare name on the PATH counts, and so
  does a *PhotoCraft*.AppImage in ~/Applications or ~/.local/bin.

Sources: own design.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
RUSTSEC-2026-0194 (quadratic duplicate-attribute check) and RUSTSEC-2026-0195 (unbounded NsReader
namespace allocation) are fixed in quick-xml 0.41. lightcraft-meta and lightcraft-lensdb already read
attributes with with_checks(false) (and storytold#687 keeps xmp_merge strict in linear time) and do not use
NsReader, so neither is reachable today; the bump clears the advisories and leaves one copy
(wayland-scanner already locks 0.41.0). No source changes needed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…rame render

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

# Conflicts:
#	docs/gaps.md
#	docs/parity-checklist.md
…test and notes

Follow-up to storytold#1100, from storytold#1623:

- The 40 messages of pl-formats.json still in English are translated (mask
  effect presets, slideshow templates and export, Lightroom catalog import,
  keywording, people, panorama merge, the crash message), and two where only
  the arrow had been changed.
- Polish has three plural forms (1 zdjęcie, 2 zdjęcia, 5 zdjęć). 25 messages
  put the number before a genitive plural, which reads wrong for 2–4, 22–24…
  ("Usuń 2 zdjęć"); they now put it after the noun ("Usuń zdjęcia (2)",
  "Zdjęcia: 22"), right for every number. `{n} {noun}` reads `{noun}: {n}` and
  its noun pairs share one form. `{} failed` names a task, not a count.
- Dates read day.month.year (Niedziela, 20.09.2026; 09.2026), not "20 9 2026".
- Test polish_switches_formats_dates_and_reads_every_count: menu and control
  channel, persistence, pl-* tags, dates and time, counts 0–111, user names
  kept verbatim, Polish glyphs in the UI faces.
- docs/localization-pl.md (Polish notes), and the Polish row and links in
  localization.md, localization-parity.md and parity-checklist.md.

The language buttons already wrap on main, so that part of storytold#1623 is not needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DukHNvUY45rjRnvtz91x33
My own entry, so the About window can show my name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DukHNvUY45rjRnvtz91x33
…gs and zooms

A debugging toggle (`view.frameRate`, `{show?}`, a checked item in a new Help ▸ Debug
submenu; LIGHTCRAFT_FPS=1 starts with it on; never saved). In the window's top-right
corner it draws frames per second and the worst over the last second, each frame's UI
CPU time against its time spent waiting (vsync, or the GPU), the latest whole-frame
and zoom-window render times, the render queue, renders thrown away as superseded
(Renderer::discarded), the GPU adapter and its memory, and a graph of the last frames
with a tick where a render arrived. It keeps the window repainting while shown and
logs the same numbers once a second (`fps-hud:`), so scripted drags can be measured.

Perf::host_frame_ms (the frame's CPU time as eframe reports it) is added as storytold#1009
adds it, identically.

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

Review of storytold#1313:
- Turning the display off and on again later counted the whole time it was off as one
  frame, so "worst" and the graph showed a huge red spike for the next second. The
  state is now dropped while the display is off (`frame_rate::forget`), and a gap
  of more than 2 s while it shows (window hidden, machine asleep) starts a fresh
  count instead of becoming a frame.
- The state (`HUD`, `LOGGED`) was in process-wide statics, shared by every headless
  view in a test process. It now lives in the egui context's temp data, one per
  window.

Tests: turning it back on after time off, a long pause while it shows, and two
contexts keeping separate counts (the first two fail without the fix).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Like Lightroom's merge preview: a click zooms in on the point clicked (one
preview pixel per screen pixel, at least twice the fitted size), a drag pans,
another click fits again. The zoom stays while options change, so deghost
levels and projections can be compared at the same spot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep the shared graphic reader and apply EXIF orientation before sizing. Preserve upstream export safeguards and JPEG improvements. All eight local CI gates pass, including the three export regressions.
Settings → Dialogs → "Close a dialog by clicking outside it" (off by default,
so a stray click never throws away a dialog's choices). When on, a click
pressed and released on the dimmed backdrop closes the dialog like Esc and
doesn't reach the panels below. A drag that ends outside (a slider pulled past
the edge), a click that only closes a dropdown, and the click that opened the
dialog keep it open. The import review never closes this way.

The press and release are read from the raw pointer events: egui clears the
press origin on release, and a scripted click is a single frame.

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

In Detail, dragging with the middle button (the mouse wheel pressed) pans the
zoomed photo with a hand cursor, in every tool. Remove / Heal / Clone, the
mask brushes and Crop no longer have to be left to look around a zoomed photo,
and they don't paint or move during that drag: it is handled with the pinch and
scroll gestures, before the tool overlays.

Right-click keeps the photo's context menu and Space keeps the zoom toggle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated by an AI coding agent.
Generated by an AI coding agent.
)

`[workspace.package] rust-version` said 1.90 while `jixel` needs 1.94,
`lightcraft-ui-egui` declared 1.95 on its own and the README asks for
1.95. One declaration now, inherited by every crate; the flake's note
says the same.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011K1peyrh5MdZ6ttHkVq8Gh
…urably

Export Keywords wrote with std::fs::write to any path, replacing a library
original or its XMP sidecar. It now goes through check_write_target and
write_file_durable like preset.export and curve.exportPresets.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…Presets panel

As in the Profile browser, starred presets are listed in a Favorites
section above the groups, and stay in their own group too. The section
has its own open state and widget ids, so a user group named
"Favorites" and the same preset listed twice don't clash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AbegtYaPuwqZ81pGfELsFK
… namespace

A user group named "favorites" (lowercase) got the same widget id as the
Favorites section header, presetGroup:favorites, so ui.clickWidget picked
one or the other depending on registration order. The section header is
now presetFavorites. Review on storytold#2032.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AbegtYaPuwqZ81pGfELsFK
Credit @valenfys by their public GitHub profile name (sync_github_name).
First contribution: storytold#974.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preserve upstream opaque RGB exports and real transparency while retaining watermark orientation/aspect and HDR JPEG size limits. Full local xtask ci passes.
@aiongg

aiongg commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

FredApps' two import-review fixes are merged into this branch (47801e9).

@FredApps FredApps left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed current head 47801e9. The two prior deferred-import review findings are fixed in this head: deferred reviews are bound to a library generation, and pending reviews/active imports are coordinated with guards and regression coverage.

Requesting changes for one source-traced issue in the new recent-library chooser:

  1. [P2] Refresh chooser rows when retrying a missing library check. In crates/ui-egui/src/panels/library_problem.rs:343-370, start_checks starts a worker without marking the matching chooser row as checking or clearing its stale unavailable reason. logic retries known NotFound paths once they are old enough, including while the chooser is shown. On success, the completion callback calls apply_answers, but apply_answers only updates rows whose checking flag is true (lines 391-400). The RecentChecks cache now says the restored library is available while the chooser row still says Not found and remains disabled. Please reset/update the row state when a recheck starts and ensure its result refreshes the row. Add a regression for a missing library, restored drive, successful recheck, and chooser entry becoming openable.

This is source-traced; I have not claimed a runtime reproduction. The current main base has no Chooser/RecentChecks implementation, so this is in the new feature. This focused review is not an exhaustive certification of all 47 constituent PRs. At the latest check, the aggregate CI gate remained pending; I am not treating it as passed.

francoisgn and others added 2 commits October 24, 2026 10:39
FredApps on storytold#2689: a re-check started while the launch list is up (a
library not found looked for again, the window back to the front) never
marked its row as checking, so `apply_answers` skipped the new answer: a
library plugged back in stayed "not found" in the list. A row is re-armed
when its path is asked again about an answer it has (not after a failed
open, whose reason stays on the row). Test
a_library_found_again_comes_back_to_the_launch_list fails without it.

Fixes storytold#2774

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JbBu4MRiaKxEbSrMTZiLj8
… answer) into round3a-integration

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JbBu4MRiaKxEbSrMTZiLj8
@francoisgn

Copy link
Copy Markdown
Contributor Author

@FredApps thanks for both reviews. The launch-list point from your second one is fixed in #2701 (f1f169e), merged here as 3eca6ed on top of 47801e9: when a recent library that a row of the launch list already has an answer for is checked again (one not found looked for again, the window back to the front), the row goes back to "checking" and takes the new answer, so a library plugged back in becomes openable again; after a failed open the row keeps the open's reason, as before. Test a_library_found_again_comes_back_to_the_launch_list fails without it. This was #2774; the other edge case found nearby (files waiting for a library dropped when their import can't start) is #2779, for a small PR after this lands.

@aiongg thanks for taking FredApps' first review into this branch yourself (francoisgn#2). We missed that review overnight: our watch only looked at the bots. It now stops on any review or comment from a person.

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@aiongg
aiongg merged commit c414ef0 into storytold:main Oct 24, 2026
5 checks passed
helgehelge123 added a commit to helgehelge123/lightcraft that referenced this pull request Oct 24, 2026
The Remove stroke ends on the release so it reaches where the pointer
stopped, but a middle drag pans the photo (storytold#2689's LR-VIEW-ZOOM): only
the left button's release counts, so letting go of the wheel no longer
drops a spot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
helgehelge123 added a commit to helgehelge123/lightcraft that referenced this pull request Oct 26, 2026
The Remove stroke ends on the release so it reaches where the pointer
stopped, but a middle drag pans the photo (storytold#2689's LR-VIEW-ZOOM): only
the left button's release counts, so letting go of the wheel no longer
drops a spot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet