LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge PR #2502: LRC-LIB-IMPORT: month names in date templates (%B January, %
francoisgn6ed7741f6fea
diff --cc docs/whats-new.mdindex acfa534a6,bf69a9592..285cb1efb--- a/docs/whats-new.md+++ b/docs/whats-new.md@@@ -1,120 -1,12 +1,127 @@@# What's new in LightCraft+## 2026-10-22++### Find the grid shortcut in View+- Photo Grid and Square Grid now show the grid-cycle shortcut (G by default) in the View menu. The hints follow+ shortcut changes; clicking a menu row still selects that grid (issue #2500).++## 2026-10-21++### Settings window+- Settings is one size on every tab and stays where it is as you go through them; before, each tab made its own+ size and the tabs moved under the pointer. The tabs stay in place while a long page scrolls (in a very short+ LightCraft window, where the page has too little room to scroll by itself, the tabs and the page scroll together), a+ page that goes on below shows a scroll handle without the pointer on it, and each page remembers where it was+ scrolled to, also when Settings is closed and opened again.+- Nothing in Settings runs off the side any more. A row with more choices than fit (the languages on General) wraps+ onto further lines and a long label wraps in its column, where both used to widen the window: in a small+ LightCraft window the labels and the Close button of General ended up off screen.+- The Slideshow tab is one column like the other tabs, with the slide preview first, instead of a column beside the+ preview that made Settings much wider on that tab. The preview stays above the page while it scrolls, so pointing+ at a template further down still shows it there (in a very short window it scrolls with the page instead). Pointing+ at a template no longer pushes its rows out from under the pointer, and the Export buttons wrap.+- A long folder (General ▸ Library ▸ Location, the folder Auto Import watches, the smart previews folder, a monitor+ profile's file) is shortened to its last folders ("…/Pictures/Library") on one line; rest the pointer on it for+ the whole path.+### One star rating control+- The stars in the bottom bar, the Info panel and the filter bar are now one shared control, and the badges on grid+ cells, filmstrip thumbnails and the Compare caption use the same drawing. Hovering a star in the filter bar now+ previews the rating like the others do, and with a star focused (Tab), ← and → lower and raise the rating.+### Progress looks the same everywhere+- Download, scan, denoise and activity progress now use one bar that fills the width it is given, with its text on+ it, and a gentle sweep while the amount of work isn't known yet. Waits that only said "Selecting…", "Waiting to+ start…" or "Installing…" now show a small turning arc beside the text, and a thumbnail still being made shows a+ quiet placeholder that fits the theme in the grid, the filmstrip and Compare. Screen readers hear a progress+ indicator with its percentage.+### Menu names that say what they are+- Switches in the menus are named for what they show, with the check mark saying whether it is on: Filmstrip ✓,+ Focus Point ✓, Clipping ✓, Photo Counts ✓, Mask Overlay ✓ instead of Show Focus Point ✓. No two commands share a+ name any more: View ▸ Detail is now Detail View (the Edit section Detail keeps its name), Window ▸ Edit is Edit+ Panel, and Compare Before and After is Before/After Side by Side, next to Split and Top/Bottom.+- The preview cache command has one name, Discard Preview Cache, in File ▸ Previews and in the toast that confirms+ it. Keyboard shortcuts are unchanged.+### Dropping files shows what will happen+- While files are dragged over the window, it dims and a card says what dropping will do: review the photos and+ folders for import, import the presets, or open the face model. If a dialog is open, the card asks you to close it+ first, and a drop is refused with a message instead of replacing the dialog. The same goes while an import is+ running, and in the web version.+- The import review of a finished scan (a drop, or File ▸ Import) no longer replaces a dialog you opened in the+ meantime; it opens as soon as that dialog is closed.+- Photos and folders dropped on the window now open the same import review as File ▸ Import, so you pick add, copy or+ move, the destination and a preset before anything is imported. Settings ▸ Import ▸ "Import dropped files without+ review" brings back the old behaviour of importing at once.+- In the web version, a dropped file the browser can't read, or that can't be imported, now shows a message instead of+ failing silently.+- For scripts: `ui.dropFiles` hovers files over the window or drops them, as the operating system does.+### Counting many smart albums is faster+- Counting every smart album at once (the numbers in the Albums list, and the `albums.list` command) now works out an+ album that other smart albums test (“album is …”) once for the whole library, instead of again for every album+ that tests it. On a synthetic library of 312,000 photos with 77 smart albums, 51 of them testing one shared album,+ the full count took about 14 s instead of about 23 s on a heavily loaded machine; the rest is the text rules of+ the albums themselves. The counts are the same as before, including for albums that loop through each other.++### Sharper resampling in HDR and panorama merges+- Merged photos (HDR and panorama) are resampled with a sharper filter (Lanczos-3 instead of bilinear). Moving a+ photo by half a pixel used to lose a third of its finest detail; now it keeps most of it, without halos around+ hard edges such as clipped highlights.++### Scrolling past editing sliders+- Leaving a selected slider disarms its vertical mouse-wheel adjustment (issue #1355), even when the pointer leaves+ and comes back between two screen updates. Scrolling back over it now scrolls the panel instead of unexpectedly+ changing the photo. Click or drag the slider again to adjust it with the vertical wheel; keyboard arrow+ adjustments and an ongoing drag still work. A slider reached with Tab takes the arrow keys but not the wheel:+ click it to scroll-adjust it. Sideways scrolling still adjusts the slider under the pointer without selecting it+ first.++### A pinch no longer re-renders the photo at every zoom step+- Pinching the loupe now keeps the size the fit view is rendered at until the gesture is quiet, as it already did for+ the render sizes and windows. Before, each frame of a pinch asked for a new full-frame render at a new size.++### Fujifilm lens corrections that match the camera+- X-T4 raws now read the lens's own distortion and vignetting tables the way the camera does. Many photos from zoom+ lenses got no distortion correction at all (more than half of those checked from the XF16-55 and XF70-300), and+ corners came out up to 6.5 % brighter than in the camera's JPEG. The corrected photo now lines up with the camera's+ framing. Other recent Fujifilm bodies whose tables have nine knots are read the same way, but only the X-T4 was+ measured. Thumbnails are redrawn when the library next shows them.++### Reference view reliability+- Escape now leaves Reference for Detail without changing the active photo or its edits; the next+ Escape returns to the grid. A dialog, tool or Lights Out still handles Escape first.+- Opening or creating a different library clears the pinned reference. Photo IDs belong to one+ catalog; a pin no longer silently becomes another library's photo with the same numeric ID.+- Missing or Recently Deleted photos cannot be pinned. Deleting the pinned reference stops drawing+ it; re-entering Reference chooses a live photo, and restoring the deleted photo makes it pinnable again.+ In Recently Deleted, Set as Reference Photo is greyed out, and a refusal says to restore the photo.+- Switching library from Reference view goes to the grid instead of an empty Reference canvas. A refused+ or failed switch keeps both the reference and the Compare pair.+- `photo.setReference` refuses an `id` that is not a photo id (a string, a negative or fractional+ number) instead of pinning the active photo; only an absent or null `id` means the active photo.++## 2026-10-20++### Smart albums check File Path rules faster+- A smart album rule on File Path (contains, doesn't contain, is, isn't, starts with, ends with, is empty, isn't+ empty) no longer builds new text for every photo. On a synthetic library of 312,000 photos, a File Path "contains"+ or "doesn't contain" rule took about 17 ms per pass instead of about 62 ms, around 3.5 times faster, with the same+ photos matched; about 6 ms of that is only reading the paths. Paths and rule text with letters beyond A–Z are+ compared as before.+## 2026-10-21++### Edit Capture Time leaves a capture time it can't read as it was+- A capture time that is cut short, has seconds that aren't digits or has text after it (a Lightroom catalog's capture+ time is copied as it is) is no longer shifted into a clean-looking wrong time: Edit Capture Time leaves the photo as+ it was and says so, and its preview says the photo's time can't be read instead of previewing a wrong one.+ `photo.setCaptureTime` counts those photos as `unreadable`. Set date & time still repairs such a photo selected on+ its own; with other photos selected it says why it can't move them by the same amount. When the dialog can't make a+ change (a time that isn't a date, a shift past year 9999), it now says why and stays open, instead of closing.+ ## 2026-10-21++ ### Month names in folder and file name templates+ - Date templates take the month by name: `%B` gives January, `%b` gives Jan. Import ▸ Folders ▸ Custom template…+ `{date:%Y}/{date:%B}` files photos into 2026/January, 2026/February…, the layout many existing libraries already+ use. The names are English in every interface language, so folders don't change when the language does. Rename+ Photos and export file names take them too.## 2026-10-19