LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge storytold/main into fix/2555-sidecar-settings-range
insideTheFlux45e52e74096b
diff --cc docs/whats-new.mdindex 54a226373,c6c259200..a4dee3279--- a/docs/whats-new.md+++ b/docs/whats-new.md@@@ -1,14 -1,26 +1,33 @@@# What's new in LightCraft+ ## 2026-10-24++ ### Relative-date filters and smart albums follow the clock+ - A current view or source count using “in the last” rules now refreshes when the session clock moves into a new+ minute, even when no catalog edit occurred. This fixes stale photos remaining in the grid and stale counts for+ direct or nested smart albums. Held views keep photos that expired until Refresh View while admitting photos that+ newly match; expiry itself does not create an undo step.++ ### The histogram's tonal zones adjust the Basic tones+ - The histogram is a control surface again, as in Lightroom Classic: hovering one of its five zones (Blacks, Shadows,+ Exposure, Highlights, Whites) tints it and shows its name and value under the plot ("Exposure: +0.45 EV"). Dragging one+ sideways moves that control — the zone you pressed stays locked while the pointer crosses the others, Shift drags a+ tenth as far, and the whole drag is one undo step. Double-clicking a zone puts its control back to its default.++ ### Drag the parametric Tone Curve+ - In the Tone Curve's parametric mode the graph is now drawn from the renderer's own curve, so it always matches the+ photo, and the line can be dragged: pressing it picks the region under the pointer (Highlights, Lights, Darks or+ Shadows) and moving up or down changes that slider, as one undo step. Hovering the line names the region first.+## 2026-10-23+### Edits read from a sidecar are kept in range+- LightCraft edits read back from an XMP sidecar (Read Metadata from File, or at import) are now checked like presets+ and pasted settings: sliders and curves are kept in their ranges and the straighten angle within ±45° (issue+ #2555). A turned crop that reaches far past the photo is trimmed to the photo when it is shown or exported. Before,+ a damaged or hand-edited sidecar could set a crop that made a full-size export ask for trillions of pixels and+ close the app. Crops made with the crop tool are unchanged.+### Tab leaves the name field in New Album, New Smart Album and the name prompts- In New Album, New Smart Album, Save Metadata Preset and the other dialogs with one name field, the field has thekeyboard focus when the dialog opens, and Tab now moves on to the check box, Cancel and OK (Shift+Tab goes back).