LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge PR #2422: PERF-SMART: count every smart album once per pass, not once
francoisgn1938bc384548
diff --cc docs/whats-new.mdindex c7b9e7bb4,017adef00..acfa534a6--- a/docs/whats-new.md+++ b/docs/whats-new.md@@@ -1,59 -1,13 +1,65 @@@# 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