LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge PR #1474
Brandon Thomasd9ed118c1d1f
diff --cc crates/ui-egui/src/lib.rsindex d4520bfa8,4dd6effda..d268ec6ec--- a/crates/ui-egui/src/lib.rs+++ b/crates/ui-egui/src/lib.rs@@@ -123,22 -106,12 +123,24 @@@ mod tests_preset_import#[cfg(test)]mod tests_preview_limit;#[cfg(test)]+mod tests_profiles_layout;+#[cfg(test)]mod tests_quit_unsaved;#[cfg(test)]+mod tests_recheck;+#[cfg(test)]+mod tests_rename_person;+#[cfg(test)]+mod tests_sam_setup;+#[cfg(test)]mod tests_scroll;#[cfg(test)]+ mod tests_slider_reset;+ #[cfg(test)]+mod tests_slideshow;+#[cfg(test)]+mod tests_solo_sections;+#[cfg(test)]mod tests_switch_library;#[cfg(test)]mod tests_sync;diff --cc crates/ui-egui/src/widgets.rsindex 67fa4d394,9a9f86c36..870e6b107--- a/crates/ui-egui/src/widgets.rs+++ b/crates/ui-egui/src/widgets.rs@@@ -218,10 -176,12 +218,13 @@@ pub(crate) fn shown_value(spec: &Controif shown == "+0" || shown == "-0" { "0".to_string() } else { shown }}+ /// The radius of a slider's hollow ring thumb.+ const THUMB_RING: f32 = 7.0;+/// A Lightroom slider row (label + value above a track with a hollow ring thumb).- /// Double-click the label or thumb to reset. Shift-drag = fine adjustment. Scroll sideways over- /// it to nudge it. Click the value to type one: Return or clicking away applies it, Esc keeps the+ /// Double-click the label or thumb to reset (hovering either says so). Shift-drag = fine-/// adjustment. Click the value to type one: Return or clicking away applies it, Esc keeps the old one.++/// adjustment. Scroll sideways over it to nudge it. Click the value to type one: Return or clicking away applies it, Esc keeps the+/// old one.pub fn slider(ui: &mut Ui, spec: &ControlSpec, value: f64, enabled: bool, label_override: Option<&str>) -> SliderOut {let t = Tokens::get(ui.ctx());let w = ui.available_width();@@@ -257,8 -217,12 +260,13 @@@node.add_action(egui::accesskit::Action::Decrement);}});- let label_resp = ui.interact(label_rect, id.with("label"), Sense::click());+ // the name: double-click it to reset, as the thumb (a disabled slider's name is only text)+ let label_resp = ui.interact(label_rect, id.with("label"), if enabled { Sense::click() } else { Sense::hover() });+ // say how to reset (issue #1436: the double-click was hard to discover), as the curve channels do+ let reset_hint = crate::i18n::tr_format!("{name} — double-click to reset it", name = label_text);+ let label_resp = if enabled { label_resp.on_hover_text(reset_hint.as_str()) } else { label_resp };+ crate::widgets::announce(&label_resp, crate::i18n::tr_format!("Reset {name}", name = label_text.clone()));+ register(ui.ctx(), format!("sliderLabel:{}", spec.id), label_rect);register(ui.ctx(), format!("slider:{}", spec.id), track_rect);// the value: click it to type an exact one (over the label, so it takes the click)let value_rect = Rect::from_min_max(pos2(label_rect.right() - 64.0, label_rect.top()), label_rect.max);diff --cc docs/parity-checklist.mdindex ee05a4f55,ba1babb61..ff90e3ec3--- a/docs/parity-checklist.md+++ b/docs/parity-checklist.md@@@ -1,8 -1,6 +1,8 @@@# Lightroom parity checklist- > **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-14 · **Change:** minor (catalog import: persistent result, offline Local promotion and library-switch dismissal; integration batch 35: KEYC-SELECTONLYACTIVE, Select Only Active Photo ⌘⇧D; LR-BEHAV-AUTOSAVE, damaged snapshots repaired on open; LR-EDIT-OPTICS-PROFILE, Nikon Z 6II / Z 8 / Z f in-file distortion; LRC-LIB-CATALOG-IMPORT, WAL-only catalogs open; LR-EXP-DIM, enlargements stop at 512 MP; LR-IMP-CAMERA-COVERAGE, Canon EOS RP CR3 verified; model folder retry) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6-> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-13 · **Change:** minor (KEY-SLIDER-RESET: a slider's name and thumb say a double-click resets it, one undo step (#1436); LR-MERGE-HDR: merges of raws without colour matrices keep their colour (#965); rapid slider entry; LR-PROF-CAMERACOLOR: tone curve from black-and-white camera JPEGs; LR-VIEW-ZOOM, LR-VIEW-COMPARE: Compare and Reference zoom windows; LR-IMP-FORMATS, LR-IMP-CAMERA-COVERAGE: EOS R5 Mark II CR3 decodes; renamed from `parity.md`; Top gaps moved to gaps.md, shortcut notes to ui-parity.md; filesystem history retry/Undo/Redo evidence; renamed from `parity.md`; Top gaps moved to gaps.md, shortcut notes to ui-parity.md) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6++> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-14 · **Change:** minor (KEY-SLIDER-RESET: a slider's name and thumb say a double-click resets it, one undo step (#1436); catalog import: persistent result, offline Local promotion and library-switch dismissal; integration batch 35: KEYC-SELECTONLYACTIVE, Select Only Active Photo ⌘⇧D; LR-BEHAV-AUTOSAVE, damaged snapshots repaired on open; LR-EDIT-OPTICS-PROFILE, Nikon Z 6II / Z 8 / Z f in-file distortion; LRC-LIB-CATALOG-IMPORT, WAL-only catalogs open; LR-EXP-DIM, enlargements stop at 512 MP; LR-IMP-CAMERA-COVERAGE, Canon EOS RP CR3 verified; model folder retry) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6+> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-14 · **Change:** minor (integration batch 35: KEYC-SELECTONLYACTIVE, Select Only Active Photo ⌘⇧D; LR-BEHAV-AUTOSAVE, damaged snapshots repaired on open; LR-EDIT-OPTICS-PROFILE, Nikon Z 6II / Z 8 / Z f in-file distortion; LRC-LIB-CATALOG-IMPORT, WAL-only catalogs open; LR-EXP-DIM, enlargements stop at 512 MP; LR-IMP-CAMERA-COVERAGE, Canon EOS RP CR3 verified; model folder retry; LR-IMP-FORMATS: preview-only raws rechecked after an update, #662) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6+> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-12 · **Change:** minor (LR-VIEW-ZOOM: full-size slider-drag drafts on the GPU, timed with their frame, issue #330; rapid slider entry; LR-PROF-CAMERACOLOR: tone curve from black-and-white camera JPEGs; LR-VIEW-ZOOM, LR-VIEW-COMPARE: Compare and Reference zoom windows; LR-IMP-FORMATS, LR-IMP-CAMERA-COVERAGE: EOS R5 Mark II CR3 decodes; renamed from `parity.md`; Top gaps moved to gaps.md, shortcut notes to ui-parity.md; filesystem history retry/Undo/Redo evidence; renamed from `parity.md`; Top gaps moved to gaps.md, shortcut notes to ui-parity.md) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6The measured, row-by-row checklist: one row per Lightroom feature, menu item and shortcut, what wehave and what is missing. It answers *does the feature exist?* (feature breadth). Whether it is good@@@ -673,8 -666,8 +673,8 @@@ From `06-shortcuts.md` part 1. Evidenc| KEY-CROP-OVERLAYORIENT | Crop overlay orientation — ⇧O | P1 | ✅ | `cmd:view.cropOverlayOrientation` | while cropping: O cycles the overlay, ⇧O its orientation || KEY-CROP-RESET | Reset crop — ⌥⌘R | P0 | ✅ | `cmd:crop.reset` | || KEY-STRAIGHTEN | Straighten while held — ⌘ drag | P1 | ✅ | `cmd:crop.straighten`, `crates/ui-egui/src/panels/detail.rs` (`straighten_overlay`) | ⌘-drag in Crop draws a level line; the crop tool stays active |- | KEY-SLIDER-RESET | Reset slider — double-click | P0 | ✅ | `crates/ui-egui/src/widgets.rs` | |+ | KEY-SLIDER-RESET | Reset slider — double-click | P0 | ✅ | `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/tests_slider_reset.rs` | double-click a slider's name or thumb: back to its default as one undo step (a click on the thumb no longer moves it first, which made it two); resting the pointer on either says so (“Exposure — double-click to reset it”, as the curve channels), the value keeps “Click to type a value” (issue #1436); a disabled slider's name doesn't reset it. No per-slider reset button (Lightroom has none); no ⌥ panel headings turning into Reset buttons yet (`cmd:develop.resetSection` is command-only) |-| KEY-SLIDER-NUDGE | Nudge slider — ↑/↓ | P1 | ✅ | `crates/ui-egui/src/widgets.rs` (`nudged`), `cmd:develop.adjust` | ↑/↓ over any slider: ≈ 1/200 of its range (exposure 0.05, most sliders 1, temperature 50 K); ⇧ ×5; one undo step each |+| KEY-SLIDER-NUDGE | Nudge slider — ↑/↓ | P1 | ✅ | `crates/ui-egui/src/widgets.rs` (`nudged`), `cmd:develop.adjust` | ↑/↓ over any slider: ≈ 1/200 of its range (exposure 0.05, most sliders 1, temperature 50 K); ⇧ ×5; one undo step each. Scrolling sideways over any slider (trackpad swipe, tilting wheel, ⇧+wheel) nudges it the same way, one wheel notch a step, without selecting it first; only a mostly sideways movement counts, so scrolling the panel leaves sliders alone (`crates/ui-egui/src/tests_masking.rs`, `sideways_scrolling_adjusts_the_slider_under_the_pointer`) || KEY-SLIDER-TYPE | Type a slider value | P1 | ✅ | `crates/ui-egui/src/widgets.rs` (`typed_value`), `crates/ui-egui/src/text_field.rs`, `crates/ui-egui/src/widgets/tests_numeric_entry.rs` (`opening_release_honors_return_and_escape_immediately`), `crates/ui-egui/src/tests_keymap.rs` (`opening_numeric_release_keeps_keys_in_the_editor`) | click the value next to any slider's name and type one (`1.5`, `+0,25`, `-20`, `5600 K`): Return or clicking away applies it on the control's steps and range as one undo step, Esc keeps the old value; issue #322; Return/Escape take effect on the opening release, retaining the stored value on Escape; typing stays in the editor without triggering global shortcuts || KEY-SHORTCUTS | Shortcut list — ⌘/ | P1 | ✅ | `cmd:app.shortcuts` | || KEY-HELP | Help — F1 | P2 | ✅ | `cmd:app.help` | |@@@ -797,26 -789,7 +797,27 @@@ Latin stays upright. Advanced Japanese| Date | Change | Summary ||---|---|---|+| 2026-10-14 | minor | LR-IMP-CAMERA-COVERAGE: 17 uncompressed Olympus and Samsung Adobe models verified on one CC0 file each; status unchanged (🟡) |+| 2026-10-13 | minor | LR-EDIT-SECTION-SOLO: Solo Mode for Edit sections (Window ▸ Edit Sections, section-header menu, ⌥-click); KEYC-PANELS notes it |+| 2026-10-14 | minor | LR-MERGE-HDR ✅ → 🟡: tested on real 67 MP Sony brackets; moving clipped highlights (black-hole stars) and dark-sky ghosts fixed, merge memory cut ~25 %; AI Denoise on merged DNGs, JPEG response curves and per-frame memory remain (gap 29). LR-MERGE-HEADLESS, MENU-PHOTO-MERGE: HDR for Each Bracket Set (`merge.hdrBatch`) |+| 2026-10-15 | patch | LR-VIEW-BEFOREAFTER: side by side and stacked panes share click-zoom animation for whole-frame images, window tiles and input; render requests keep the final target (#1821); status unchanged |+| 2026-10-14 | patch | LR-META-XMP: automatic sidecar writes that fail (folder offline or read-only) wait and are written again once the files are reachable, with a notice (`cmd:library.retrySidecars`); status unchanged |+| 2026-10-13 | minor | LR-BEHAV-WINDOW (new, 🟡): the desktop app's window opens at the size it was left at, zoomed / maximized if it was; full screen and the place on the desktop are not remembered |+| 2026-10-14 | minor | LR-IMP-CAMERA-COVERAGE: Nikon D600, D610 and D5000 NEFs drop the filler and noise columns on the right (a band), and the D600 and D610 measure their white level inside the image (#1627); status unchanged (🟡) |+| 2026-10-13 | patch | LR-VIEW-COMPARE, LRC-LIB-COMPARE: ⌘/Ctrl- and Shift-clicks on the filmstrip in Compare change the selection as in the grid; the two photos shown stay selected and the active photo is unchanged (#187); statuses unchanged |+| 2026-10-13 | minor | KEYC-SELECTONLYACTIVE: Edit → Select Only Active Photo (⌘⇧D) lands as a new row; status 🟡 (headless-tested, native macOS menu path unverified) |+| 2026-10-13 | patch | LRC-LIB-CATALOG-IMPORT: a catalog whose tables are all still in its `-wal` file (main file schema format 0) opens instead of failing as an unsupported schema format; status unchanged |+| 2026-10-14 | patch | LR-REM-HEAL, LR-REM-CLONE: zero-feather edges preserve exact-radius pixels; zero-opacity regression covers all spot modes and image corners. Statuses and feature counts unchanged. |+| 2026-10-13 | patch | LR-EXP-DIM: an enlarged export stops at 512 megapixels and is refused when it needs more memory than the computer has, instead of aborting the app; status unchanged |+| 2026-10-13 | minor | LR-PROF-CAMERACOLOR: bundled ILCA-99M2 profile with its held-out measurement |+| 2026-10-12 | minor | LR-MASK-EFFECTS (new, ✅): local adjustment (effect / brush) presets: Effect menu, New Effect Preset dialog, Manage window, groups and favorites; imports Lightroom Classic local `.lrtemplate`, Camera Raw local `.xmp`, `.lceffect` and `.zip`. LR-IMP-PROFILES and LR-MASK-SLIDERS notes updated |+| 2026-10-14 | minor | LR-IMP-CAMERA-COVERAGE: 21 Sony and Leica Adobe models verified on one CC0 file each; status unchanged (🟡) |+| 2026-10-13 | minor | KEY-HIDEPINS ⬜ → ✅: Tool Overlay (Auto / Always / Selected / Never, `view.toolOverlay`, ⇧H cycles; H stays Remove) for the Remove tool's spot pins and the mask pins (issue #224); LR-MASK-PINS loses its "no Auto mode" note, LR-REM-SPOT-EDIT notes the modes |+| 2026-10-13 | minor | LR-EDIT-DETAIL-NR, LR-EDIT-DETAIL-CNR: noise-reduction radii in the original's pixels, so previews at any size and smaller exports look like the full-size render scaled down (issue #960); status unchanged |+| 2026-10-13 | minor | KEYC-RATING: backtick cycles the flag (`photo.cycleFlag`), ⌘↑ / ⌘↓ raise / lower it (`photo.increaseFlag`, `photo.decreaseFlag`); status unchanged (🟡) |+| 2026-10-13 | patch | LR-MASK-LUMRANGE / LR-MASK-COLORRANGE: range drags keep the grabbed endpoint; colour samples use the render's enabled sections and HDR/SDR settings; regression coverage, status unchanged |+| 2026-10-13 | minor | LR-IMP-DEVICE: Settings → Import → Cameras and Cards can open the import review when a camera or card is connected; status unchanged (✅) |+ | 2026-10-13 | minor | KEY-SLIDER-RESET: hovering a slider's name or thumb says a double-click resets it; a double-click on the thumb is one undo step, not two; a disabled slider's name doesn't reset it (issue #1436); status unchanged (✅) || 2026-10-11 | minor | LR-MERGE-HDR: HDR and panorama merges of raws without colour matrices (CR2, NEF, ARW…) write the colour they open with as DNG tags (issue #965); status unchanged || 2026-10-12 | minor | LR-META-XMP: Read Metadata from File no longer auto-writes the sidecar it has just read, which added `lc:settings` and hid another app's later `crs:` edits (#934); status unchanged (✅) || 2026-10-12 | patch | LR-IMP-CAMERA-COVERAGE: CR2 white level from the active area, not the saturated masked rows above it (issue #1272); status unchanged (🟡) |diff --cc docs/whats-new.mdindex 89a3b9672,86e626fe0..27cf0ed6b--- a/docs/whats-new.md+++ b/docs/whats-new.md@@@ -1,288 -1,13 +1,294 @@@# What's new in LightCraft+## 2026-10-15++### Lightroom radial masks on the right side+- Radial masks brought over from Lightroom Classic (catalog import, XMP sidecars, edits inside DNGs and presets) now+ apply their effect inside the circle, as Lightroom does, instead of outside it (issue #1815). A mask inverted in+ Lightroom stays inverted, and older Radial Filters keep their Effect Outside / Invert Mask setting. Photos imported+ before this keep the masks they got: Photo ▸ Read Metadata from File reads a sidecar's again.++## 2026-10-15++### Delete in an album removes from the album only+- In an album, the Delete key now takes the selected photos out of the album, as in Lightroom. It used to move them+ to Recently Deleted, so they also left their folder's view (issue #1805). They stay in the library and in their+ folder; Edit ▸ Undo puts them back in the album. Photo ▸ Remove from Album does the same and now shows the key.+ To delete photos from the library from an album, use Photo ▸ Delete Photo or right-click ▸ Delete Photo. In a smart+ album, Delete changes nothing: its rules decide what it shows.++## 2026-10-15++### Local folders select a photo+- Showing a Local folder now makes its first photo the active one, as albums and the other sources do (issue+ #1447), or keeps the photo you had when the folder holds it. Before, the photo from the previous view stayed active:+ Photo Grid marked nothing, and Detail, the histogram and the photo info showed a photo that isn't in the folder.++## 2026-10-14++### HDR merges of moving lights, and many brackets at once+- A star, the moon or a light that moves between the photos of a bracket (a night bracket on a tripod) no longer+ leaves a black hole where the middle photo had it clipped. With Deghost, the brightest photo's copy of it in a+ dark sky is now removed too.+- Photo ▸ Photo Merge ▸ HDR for Each Bracket Set merges every bracket among the selected photos with the last HDR+ settings, one after the other: each stack, and photos taken less than a second apart at different exposures.+ From the command line: `lightcraft-cli merge hdr-batch FOLDER`.+- Merging uses about a quarter less memory: three 67 MP raws need 3.8 GB instead of 4.8 GB.++### XMP sidecars catch up after a network share comes back+- With automatic XMP writing on, an edit to a photo whose folder can't be written (a network share that dropped+ out, a folder that went read-only) used to be written only to the library, with a line in the log, so the sidecar+ stayed behind the edit. LightCraft now says once that the sidecars are waiting, tries again every few seconds once+ the files are reachable, and says when they're written. `library.retrySidecars` does it on request.++### Reliability+- A damaged or crafted raw can no longer make LightCraft set aside gigabytes of memory before finding out the file is+ bad (issue #1512): a compressed PEF whose data is too short for the size it declares, an uncompressed TIFF-based+ raw whose tile claims far more samples than it holds, and an ARW6 with a broken tile are refused first. All 74+ files in the test corpus still decode.++### Reliability+- Thumbnails and previews are written to the cache on disk by one background writer instead of a new thread for+ each image (issue #1522). When renders come in faster than the disk takes them, at most 128 MB of images wait;+ past that a write is skipped (the image stays in memory and is written by a later render), so a slow disk can't+ pile up threads and memory.++### Reliability+- Saving the catalog and resuming a model download no longer write through a link left at the temporary file's+ name (`catalog.snap.tmp`, `model.onnx.part`): the link is removed and a new file made in its place, so the file it+ pointed to is never changed (issue #1502).++### Reliability+- A photo whose file was replaced (Reload Changed Files after an outside edit) no longer keeps the faces recognition+ made from the old pixels: they are made again from the new file, and a scan still busy with the old file when it+ changed doesn't put its faces on the new one (issue #1524).++### Settings stays put when you change tabs+- The Settings window keeps its top edge and width when you switch tabs, so the tab row no longer jumps around+ under the pointer. It used to be centred, so every tab of a different height moved it.++### Layout image over the loupe+- View ▸ Loupe Overlay ▸ Choose Layout Image… draws a PNG with transparency over the photo in the loupe, such as+ a magazine cover's masthead and cover lines, so you can frame a shot for the page it is made for. It fits inside+ the photo, follows zoom and pan, and ⌥⌘O shows or hides it. The same menu sets its opacity and a matte that+ darkens the photo outside it. The layout stays chosen across launches.++### Smaller JPEG exports+- JPEG exports are 12–14 % smaller at the same quality, with exactly the same pixels (issue #1373): each file now+ carries Huffman tables made for its own picture instead of the standard example tables. Every viewer opens them+ as before.++### Reliability+- A photo whose Defringe amount was stored far past the sliders' 20 (in a damaged catalog or sidecar) no longer+ crashes LightCraft each time it renders: the amount acts as 20.++### Lens names for Nikon DSLR raws+- Photos from Nikon DSLRs like the D700, D750, D80 or D5300 now show which lens they were taken with, for example+ "24.0-70.0 mm f/2.8". Those cameras don't write a lens name, so the lens field was empty and you couldn't filter or+ search by lens. LightCraft now reads the lens range Nikon keeps in its own maker note, the way Lightroom shows a+ lens it doesn't have a name for. Newly imported photos show it.++### Import when a card is connected+- Settings → Import → Cameras and Cards has an option to open the import review as soon as a camera or memory card+ is connected, the same review File → Import from Device opens. It's off by default. A card that's already in when+ LightCraft starts doesn't ask, and if a dialog is open or an import is running it waits until that's done.++### Local folders+- Photos deleted (or moved) by another app no longer stay in a Local folder, failing to load and logging an error+ each time you look (issue #1392): the next time you browse the folder, in a later session, they're left out. A photo you had rated, flagged or+ edited stays, marked missing, so its changes aren't lost; photos in My Photos are unchanged.++### Full-resolution panoramas+- Panorama and HDR Panorama merges keep the resolution of their photos instead of stopping at 40 megapixels+ (issue #1455), up to 512 MP and 65,000 pixels on the long edge, as in Lightroom. When the full size needs more+ memory than the computer has, the panorama is made as large as fits (five 51 MP photos: up to 166 MP with+ 16 GB, 355 MP with 32 GB) and the message says so. The merge also frees each photo's pixels once they are+ projected, so it needs less memory than before at any size (an 81 MP stitch: 4.4 GB instead of 6.2 GB).++### Nikon D600, D610 and D5000+- Raws from the Nikon D600, D610 and D5000 no longer show a bright line down the right edge (issue #1627). Their+ sensor data runs a few columns of filler past the picture, which stayed in the image; these bodies now develop+ at the camera JPEG's size (6016 × 4016 for the D600 and D610, 4288 × 2848 for the D5000, as the D90 already+ did). On the D600 and D610 the white level is also measured inside the picture, so the filler can't pass for+ clipped highlights.++### More Canon EOS R6 Mark II C-RAW files decode+- Some EOS R6 Mark II C-RAW files (about 1 in 50 in one photographer's library) opened as their preview with+ "Canon CRX adaptive QP value 172" or "175". They now decode from the sensor data. Photos imported before this+ switch over with Photo ▸ Reload from Disk.++### Hard-edged Heal and Clone spots+- A spot with Feather at 0 no longer draws black pixels exactly on its radius. This also fixes spots at 0% Opacity+ changing pixels along their edge. The hard edge now leaves pixels on the radius unchanged.++### HDR merges keep the white balance+- An HDR merged from raws that LightCraft colours from the camera's JPEG (CR2, NEF, ARW…) now opens at the same+ As Shot temperature and tint as its photos, and changing the white balance no longer turns it green. Sony ARW+ merges used to open at about 7000 K / +115 where the photos show 4000–5300 K / +8. HDRs merged before this keep+ their old white balance; merge them again.++## 2026-10-13++### Edits keep up in a large library+- A small edit (a keyword, a rating, a flag, a slider) no longer has the grid's list worked out again from every+ photo: only the photos the edit touched are asked about again and put at their place in the order. In a library of+ 67,000 photos that step went from 37 ms to under 1 ms. Still worked out whole: an edit to more than 256 photos, a+ change to an album, a stack or the keyword list, an album shown in its own order, Recently Added, Missing Photos,+ and a view that asks about "the last N days".+- With no filter set, the count of the source is taken from the list instead of from a second pass over the library.+- The side panels keep a tally an edit cannot have changed: a rating or a slider changes none of the folders,+ keywords, dates, people and counts; a keyword leaves the folders, the dates and the counts as they are. With both+ side panels open, the frame after a keyword went from about 156 ms to about 54 ms in that library (2 ms with the+ panels closed, from 71 ms).+- The count beside each smart album in the left panel follows an edit the same way: the album asks only the photos+ the edit touched, where it asked every photo of the library after each edit (about 25 ms an album in that library).+ With that, the frame after a keyword is at about 29 ms there. New rules, a change to an album or the keyword list,+ an edit to more than 256 photos, and each new minute for an album that asks about "the last N days" are still+ counted from every photo.+- Still tallied from every photo on each edit: the filter bar's lists of cameras, lenses and keywords.++### A view can hold its photos until you refresh it+- View ▸ Hold View Until Refreshed (off unless you turn it on; kept with the library). With it on, an edit that makes+ a photo stop matching the view keeps it in the view: a keyword given in a smart album of photos without keywords,+ a flag taken off in Picks, a rating that falls under the filter bar's. With it off, as before, the photo leaves the+ grid at once and every photo after it moves up. View ▸ Refresh View (also in the sort menu while the hold is on),+ Reshuffle, another source, filter or sort, or new rules for the smart album shows what matches now.+- Photos that start matching still appear at once, and deleting a photo or taking it out of the album or folder+ shown still takes it out of the view.++### The window opens at the size you left it+- LightCraft's window opens at the size it had when you last used it, and zoomed (macOS) / maximized if it was: it+ used to open at 1600 × 1000 every time. Double-click the top bar to zoom the window, quit, and it is zoomed when+ you come back; un-zoom it and it goes back to the size it had before.+- Full screen is not remembered (the app opens as a window), and neither is where on the desktop the window was:+ the system places it.+- On macOS the system does not tell LightCraft when a window is zoomed from the Window menu or resized after a+ zoom, so it goes by the window's size, and when in doubt takes the window for a window of the size it has: it+ comes back as large as you left it, but not as a zoomed window. That is so after a zoom from the Window menu+ with the Dock at a side of the screen, or of a window already as wide as the screen. Zoomed by a double-click+ on the top bar it comes back zoomed. The other way round, a window you drag out until it is as wide as the+ screen and nearly as tall counts as zoomed.+- For scripts: a size set with `ui.resize` is remembered like any other, so a script that needs a size sets it.++### HDR merges keep the lens correction+- An HDR made with Photo ▸ Photo Merge ▸ HDR now keeps the lens correction the photos carry (Sony's, Panasonic's+ and Leica's, and the one some DNGs carry, e.g. from drones): Optics ▸ Enable Lens Corrections straightens it as it+ does the photos it was made from. HDRs merged before this don't have it; merge them again.++### Portable mode+- A file named `portable.txt` next to the LightCraft program makes it keep its settings, logs and downloaded+ models in a `LightCraftData` folder beside it instead of the per-user settings folder (issue #1200), as+ PhotoCraft does. If that folder can't be written, the usual folder is used and the log says why.++### Reliability+- Importing a preset zip that unpacks to far more than any preset (a "zip bomb") is refused with a message naming+ the file, instead of asking for gigabytes of memory, which could end LightCraft.++### Reliability+- A crop of no size (from an agent or a sidecar) no longer gives the Detail view a photo of no size to lay out+ (its width over its height was 0 / 0, which stopped debug builds); it shows as a single pixel's colour.++### Reliability+- A crop a hair wide (or of no size), set by an agent or read from a sidecar, no longer crashes or hangs the+ render with Clarity, Dehaze, Texture or Highlights / Shadows on: their blurs are held to the picture's size.+- A crop of no size with healing spots or masks no longer crashes the render: samples outside the picture read its+ edge.++### Reliability+- A library whose catalog file was damaged (or edited by hand) in a way that still reads no longer crashes+ LightCraft when it shows a stack, or hangs it when a folder is moved: on opening, records are put back under+ their own ids, stacks keep only photos that exist (at least two), folders inside themselves move to the top,+ and new photos never reuse an id in use. What was repaired is written to the log.++### Nikon lens corrections+- Raws from the Nikon Z 6II, Z 8 and Z f now open with the camera's own distortion correction, as Lightroom applies a+ built-in profile: straight lines near the edges stay straight and the framing matches the camera's JPEG. It works+ with Z lenses and with F-mount lenses on the FTZ adapter, follows the in-body stabilisation's shift of the optical+ centre, and can be turned off under Lens Corrections. Vignetting correction from the file comes later.++### Thumbnail cache stays in its folder+- The thumbnail cache no longer follows a shard folder (`thumbs/ab/`) that is a symlink or junction to somewhere+ else (issue #1504): trimming or clearing the cache can't delete files outside it, and thumbnails are never read+ from or written through such a link.++### Large libraries: Synchronize Folder, import and sidecars start sooner+- Opening Synchronize Folder, an import review or an import no longer makes a table of every photo in the library+ before it looks at the first file. In a library of 3.5 million photos that held the window for about 6 s before+ a Synchronize scan began (now under 1 s), 2.6 s before an import review (now 0.05 s) and 1.7 s before an import+ (now 0.05 s). The scan looks up only the files it finds and the contents it reads, on its own thread.+- Writing one photo's XMP sidecar (Save Metadata to File, or automatically after an edit) no longer works out who+ owns every shared sidecar name in the library: 2.4 s a write in that library, now under 1 s.+- Nothing else changes: the same files are found new, already there, moved or missing, and sidecars get the same+ names.++### Faces load faster in the People view+- Faces on unedited raws are cut from the camera's preview inside the file instead of developing the raw (issue+ #1440): a Sony α1 face reads 8 MB instead of 70 MB, an A7S III face about 1 MB instead of 24 MB, several times+ faster on an external hard disk. A face whose preview is too small, and any edited photo, is still developed from+ the raw, so it keeps its look.+- Raws whose preview is in Adobe RGB (Sony α1 among others) no longer read the whole file for their grid thumbnail:+ only the header and the preview are read, as for other raws.+- Faces are kept in the thumbnail cache at a few fixed sizes, so moving the thumbnail slider no longer renders them+ all again.++### Reliability+- A raw file whose black level is stored as "not a number" (or infinity), or a floating-point DNG with such+ samples, no longer crashes LightCraft at 1:1 or on export: the bad values read as black.++### Reliability+- Exporting a photo more than 65,535 times as long as it is wide (a one-pixel strip), or opening the Export dialog's+ watermark preview for it, no longer crashes LightCraft; the export is capped at the encoders' 65,535 pixels.++### Reliability+- Dragging a Tone Curve point that sits very close to its neighbours (two clicks side by side, or a curve from a+ sidecar, a preset or an agent) no longer crashes LightCraft; the point stays between them. Curve points sent to+ `develop.curve` are kept in order, and a sidecar curve with a "NaN" or "inf" point is ignored.++### Reliability+- A demo photo whose stored size was damaged (a width of 4294967295) is rendered at its own size instead of+ one that overflows.++### DNG camera identity+- DNG export and Convert to DNG no longer duplicate the camera make when the model already+ contains it: `Canon EOS R6` stays `Canon EOS R6`, rather than `Canon Canon EOS R6` (the camera+ identity subissue in #840). The separate Make and Model tags keep their original values.+ This does not change colour matrices, camera calibration or RAW noise rendering.+### Building from source+- The English and Simplified Chinese build guides now describe command-local job and release+ profile overrides for memory-constrained builders (issue #1196), including why packaging+ recipes can override inherited settings. Default release profiles and application behavior+ are unchanged; the guidance does not guarantee a build will fit every 16 GB machine.+### Lightroom catalog import+- A Lightroom Classic catalog whose changes are all still in its `.lrcat-wal` file (a new catalog Lightroom has+ open and hasn't written back yet) imports instead of failing with "unsupported SQLite schema format".++### Reliability+- An export enlarged far past the photo's size (20000 typed for 2000 with Don't Enlarge off) no longer ends+ LightCraft: an enlargement stops at 512 megapixels, as in Lightroom, and one that needs more memory than the+ computer has is refused with the size it would take, before it starts.+### Confirm matching faces together+- On a person's page, the ↑ control on a suggested face confirms it and all shown suggestions with equal or higher+ similarity as one undo step. Hover or focus that face and press A for the same action; hidden suggestions stay hidden.++### Noise reduction looks the same at every size+- Luminance and colour noise reduction no longer look much stronger in grid thumbnails and the filmstrip than in+ the loupe (issue #960). Their radii are now set in the original photo's pixels, so a thumbnail, the fitted loupe+ and a smaller export look like the full-size result scaled down; 1:1 views and full-size exports are unchanged.+ Like in Lightroom, judge noise reduction at 1:1: at small sizes the noise it removes is mostly averaged away.+ Cached thumbnails are redrawn.+- When the graphics driver resets the GPU while LightCraft is exporting or rendering (issue #1337, seen on Windows+ with NVIDIA), LightCraft still stops, because its window can't keep drawing on the lost device, but it now says+ "LightCraft stopped unexpectedly" and why, instead of "could not open its window", and the next start renders+ on the CPU and explains how to turn the GPU back on.+## 2026-10-13+ ### Resetting a slider+ - Resting the pointer on a slider's name or its thumb now says that a double-click resets it ("Exposure — double-click+ to reset it"), in every language (issue #1436).+ - A double-click on the thumb is a single step in History and Undo. Its first click no longer nudges the value to+ where the pointer landed, and a single click on the thumb leaves the value alone.+### Slider drags on large raws- Dragging a slider no longer re-renders the edited photo's filmstrip thumbnail on every frame; it follows once youlet go. On a 64 MP raw the first of those renders decoded the whole file again, which held up the loupe's