LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge PR #1397
bflatastic18bd8fd881e1
diff --cc docs/parity-checklist.mdindex 9c65d7f91,7a7ef9f39..fcf2b7a1c--- a/docs/parity-checklist.md+++ b/docs/parity-checklist.md@@@ -479,9 -472,9 +479,9 @@@ differences and missing bindings are i| LR-BEHAV-TOOLTIPS | Tooltips with shortcuts | P0 | β | `crates/ui-egui/src/panels/bottombar.rs` | || LR-BEHAV-TEXTFIELD | Text fields behave alike | P1 | π‘ | `crates/ui-egui/src/text_field.rs`, `crates/ui-egui/src/panels/topbar.rs`, `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/panels/right.rs` (`meta_field`), `crates/ui-egui/src/panels/dialogs.rs`, `crates/ui-egui/src/panels/unnamed.rs` | one shared field: right-click Cut / Copy / Paste / Select All (no Paste in the browser), Esc gives back the text from before the edit, Return / leaving / Esc reported to the caller, optional select-on-focus; agents use `ui.clipboard` (MCP `clipboard`) and `ui.inspect` β `copied`. Used by Search Photos, slider values, the Info panel's metadata fields (multi-line captions), the one-field dialogs (New / Rename Album, New Smart Album, Rename / Merge Keywords, text prompts) and the unnamed faces' name field so far; the other text fields (most dialogs, import, settings, masking, keywords β¦) still use egui's own and have no menu || LR-BEHAV-HEADLESS | Headless UI snapshots | P2 | β | `apps/lightcraft-cli/src/main.rs`, `crates/ui-egui/src/headless.rs`, `docs/control-protocol.md` | `snapshot` rasterizes the UI and defaults photo development to the CPU before the first frame, without adapter discovery; scaled dimensions are validated before allocation, and UI zoom preserves the requested physical viewport; JSON-lines control scripts are supported |-| LR-BEHAV-ACCESS | Accessibility | P2 | π‘ | `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/panels/grid.rs` | AccessKit (VoiceOver / Narrator / AT-SPI): sliders announce control and value, buttons / icon buttons / dropdowns / section headers / sources their labels and state, grid thumbnails file name, rating, flag and label; the canvas tools (crop, masks) are pointer-only; not audited with a screen reader |+| LR-BEHAV-ACCESS | Accessibility | P2 | π‘ | `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/text_field.rs`, `crates/ui-egui/src/panels/grid.rs`, `crates/ui-egui/tests/accessibility.rs` | AccessKit (VoiceOver / Narrator / AT-SPI): sliders announce control, value, range and step and take Increment / Decrement, buttons / icon buttons / dropdowns / section headers / sources their labels and state, text fields their caption, grid thumbnails file name, rating, flag and label. `tests/accessibility.rs` fails on an unnamed control, a slider without range or an untitled dialog in every view, Develop tool and 13 dialogs, and checks that Crop and Remove sliders are reached with Tab. Canvas handles, spot and mask placement are pointer-only; not tried with a real screen reader ([audit](ui-parity.md#accessibility-audit)) || LR-BEHAV-LOCALE | Language options | P2 | β | `cmd:app.language.english`, `cmd:app.language.simplifiedChinese`, `cmd:app.language.traditionalChinese`, `cmd:app.language.japanese`, `cmd:app.language.portuguese`, `cmd:app.language.french`, `cmd:app.language.spanish`, `cmd:app.language.german`, `cmd:app.language.russian`, `cmd:app.language.ukrainian` | Edit > Language lists every language in the table and the active one is checked; shared with Settings > General (docs/localization.md) |- | LR-BEHAV-LOCALIZE | Localisation | P2 | π‘ | `crates/ui-egui/src/i18n.rs`, `crates/ui-egui/locales/`, `docs/localization.md`, `docs/localization-zh-hans.md`, `docs/localization-zh-hant.md`, `docs/localization-ja.md`, `docs/localization-pt-br.md`, `docs/localization-es.md`, `docs/localization-de.md`, `docs/localization-ru.md` | One table entry per language (code, endonym, ISO 15924 script, catalog): English, Simplified Chinese, Traditional Chinese (Taiwan), Japanese, Brazilian Portuguese, Spanish, German, Russian and Ukrainian UI with a persisted language preference and craft-fonts regular/bold faces per script; menus, edit, crop/masks, settings, import/export and primary progress messages. Adding a language registers the locale and its language command, plus two catalogs. Stock presets/profiles, history steps, library headings, date headings and capture times are localised (user-named items stay verbatim); the Ukrainian catalog covers every existing catalog key, command/control label and rule-editor label; the German catalog reports newly added gaps; the other catalogs fall back to English for messages they lack. Technical errors remain English; release notes are translated in German and Ukrainian; craft-fonts faces for other scripts (Thai, Arabic, β¦) are UI fallbacks in every language, for file, folder and album names (#736); Traditional Chinese borrows the Simplified Chinese face (no TC face in craft-fonts yet), and the web build embeds the Japanese face in WASM while loading the Simplified Chinese face from a separate font file. |+ | LR-BEHAV-LOCALIZE | Localisation | P2 | π‘ | `crates/ui-egui/src/i18n.rs`, `crates/ui-egui/locales/`, `docs/localization.md`, `docs/localization-zh-hans.md`, `docs/localization-zh-hant.md`, `docs/localization-ja.md`, `docs/localization-pt-br.md`, `docs/localization-es.md`, `docs/localization-de.md`, `docs/localization-ru.md` | One table entry per language (code, endonym, ISO 15924 script, catalog): English, Simplified Chinese, Traditional Chinese (Taiwan), Japanese, Brazilian Portuguese, Spanish, German, Russian and Ukrainian UI with a persisted language preference and craft-fonts regular/bold faces per script (a variable face, as for Arabic, is drawn heavier for bold from its one file); menus, edit, crop/masks, settings, import/export and primary progress messages. Adding a language registers the locale and its language command, plus two catalogs. Stock presets/profiles, history steps, library headings, date headings and capture times are localised (user-named items stay verbatim); the Ukrainian catalog covers every existing catalog key, command/control label and rule-editor label; the German catalog reports newly added gaps; the other catalogs fall back to English for messages they lack. Technical errors remain English; release notes are translated in German and Ukrainian; craft-fonts faces for other scripts (Thai, Arabic, β¦) are UI fallbacks in every language, for file, folder and album names (#736); Traditional Chinese borrows the Simplified Chinese face (no TC face in craft-fonts yet), and the web build embeds the Japanese face in WASM while loading the Simplified Chinese face from a separate font file. || LR-BEHAV-LEARN | Tutorials | OOS | π« | | || LR-BEHAV-WHATSNEW | What's new | P2 | β | `cmd:app.whatsNew`, `docs/whats-new.md` | Help βΈ What's New: release highlights || LR-BEHAV-AI-EA | Early-access badges | P2 | β¬ | | |diff --cc docs/whats-new.mdindex 6b180060e,e8df59785..0b5e69ab8--- a/docs/whats-new.md+++ b/docs/whats-new.md@@@ -1,44 -1,10 +1,49 @@@# What's new in LightCraft+## 2026-10-13++### Slider drags on large raws+- Dragging a slider no longer re-renders the edited photo's filmstrip thumbnail on every frame; it follows once you+ let go. On a 64 MP raw the first of those renders decoded the whole file again, which held up the loupe's+ previews for up to a second.+- A thumbnail of the photo open in Detail is made from its already decoded preview instead of decoding the file+ again.+## 2026-10-12++### Canon CR2 highlights+- Blown highlights in CR2 files from the Canon EOS 50D, 60D, 450D (Rebel XSi), 500D (Rebel T1i), 550D (Rebel T2i),+ 1200D (Rebel T5) and 100D (Rebel SL1) now count as clipped (issue #1272). They used to stop at 81β98% of white, so+ highlight recovery missed them and, darkened, they took a colour cast instead of going neutral grey.+## 2026-10-12++### Pentax raws without black borders+- Raws from the Pentax KP, KF, K-3 Mark III (and Monochrome), K-70, K-1, K-1 Mark II, K-S1, K-S2 and 645Z no longer+ show a black (or, on the 645Z, white) band along one or more edges (issue #1271). The sensor's masked border is+ left out, so these photos come out a little smaller, closer to the camera's own JPEG. Crops and masks on photos+ edited earlier may shift by a few pixels.+## 2026-10-12++### Camera-look deep shadows++- The starting look fitted from a raw's camera JPEG now uses its darkest tones too (issue #1307).+ Photos with deep shadows no longer have to extend the first measured tone in a straight line to black.+ Existing smart previews are refreshed when their originals are online, and cached renders are redrawn.+### Slider drags follow the pointer more closely+- With a GPU, a slider drag's preview is drawn in the same frame as the slider moves instead of one frame later,+ when the preview renders in a few milliseconds (it waits at most 40 % of a frame for it; slower renders, such as+ on the CPU, are not waited for).+## 2026-10-12++### Kelvin white balance for more Sony cameras+- Sony ILCA-99M2, ILCA-77M2, SLT-A33, DSC-RX10, ILCE-3500 and ILCE-7S raws now show white balance in Kelvin too,+ read from the white-balance presets the camera stores in every ARW: a photo shot at 3400 K on the camera reads+ 3396 K, one on the Shade preset 7493 K. As for #730, only the numbers change: edits made on the old relative+ scale keep their look, and As Shot shows the real temperature once the file is opened.+ ## 2026-10-12++ ### Bold text in other scripts+ - Arabic names and other Arabic text in headings, chosen tabs and other bold places are now drawn bold, as Latin text+ beside them is; they used to stay at regular weight.## 2026-10-11