Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Merge PR #373

Claude38cdd492746b
diff --cc apps/lightcraft/src/native_menu.rs
index 02d33db38,a36c5d333..647f7e27b
--- a/apps/lightcraft/src/native_menu.rs
+++ b/apps/lightcraft/src/native_menu.rs
@@@ -344,8 -333,13 +348,9 @@@ impl NativeMenu
/// Tell the egui shortcut handler which shortcuts the menu bar currently owns.
fn publish_shortcuts(&self, app: &mut LightcraftApp) {
- app.native_shortcuts = self
- .items
- .values()
- .filter(|i| i.accel.is_some())
- .filter_map(|i| i.shortcut.clone())
- .filter(|sc| !self.capturing && !(self.text_focus && yields_to_text(sc)))
- .collect::<HashSet<_>>();
+ let installed = self.items.values().filter(|i| i.accel.is_some()).filter_map(|i| i.shortcut.as_deref());
- app.native_shortcuts = owned_by_menu(installed, self.text_focus);
++ // (none while the keymap editor records a shortcut: every key goes to it)
++ app.native_shortcuts = if self.capturing { HashSet::new() } else { owned_by_menu(installed, self.text_focus) };
app.native_shortcuts.insert(SETTINGS_KEY.to_string());
}
diff --cc crates/ui-egui/src/lib.rs
index a76f167fb,ed4c601cf..708eb4ac4
--- a/crates/ui-egui/src/lib.rs
+++ b/crates/ui-egui/src/lib.rs
@@@ -29,12 -29,10 +29,14 @@@ pub mod widgets
#[cfg(test)]
mod tests_curve;
#[cfg(test)]
+mod tests_filmstrip;
+#[cfg(test)]
mod tests_grid;
#[cfg(test)]
+ mod tests_keymap;
+ #[cfg(test)]
+mod tests_labels;
+#[cfg(test)]
mod tests_library_problem;
#[cfg(test)]
mod tests_masking;
diff --cc docs/whats-new.md
index d02e7f222,bad18f5fc..2381cb4c1
--- a/docs/whats-new.md
+++ b/docs/whats-new.md
@@@ -2,25 -2,14 +2,30 @@@
## October 2026
+### Library keyboard culling
+- Colour labels tint thumbnail surrounds in Square Grid and the Detail filmstrip, and a translucent footer along the bottom of the photo in Photo Grid. Label confirmations use a matching pale colour.
+- Setting or clearing a colour label shows a brief bottom confirmation, like rating a photo; custom label names appear in the message too.
+- On macOS, ratings `0–5`, labels `6–9` and pick/unflag `P/U` now reach the app even when shown in the native menu (issue #283; adapted from PR #261).
+- `Shift+6–9` labels and advances. `Shift+P` picks and advances in Photo Grid and Square Grid; it opens Presets in other views. With Auto Advance on, Shift still moves only once.
+- Help → Keyboard Shortcuts includes the number-key bindings. See [library shortcuts](library-shortcuts.md).
+
+ ### Keyboard shortcuts
+ - Shortcuts are editable: Help ▸ Keyboard Shortcuts (⌘/) lists every command with a search box; click a shortcut and
+ press the new keys (Esc cancels), × removes it, ↺ restores the original, Reset All undoes every change. A key that
+ belonged to another command moves to the new one. Menus show the new keys; agents use `app.setShortcut`.
+
### RAW decoding
+- Panasonic and Leica raws (RW2, RWL) are now corrected for lens distortion the way the camera corrects its own JPEG
+ (issue #256): the correction the camera records in the file is applied under Lens Corrections ▸ Enable Profile
+ Corrections, on by default for newly imported photos, with the same framing as the camera's JPEG. At 12 mm the
+ 12–32 mm kit zoom was off by about 5 % of the image width at the corners before. Files shot with the correction off
+ are unchanged; photos imported before this change get it when imported again.
+- Canon CR3 raws now develop from their sensor data: lossless RAW and C-RAW, checked sample for sample on the EOS
+ M50, R100 and R8. CR3 files the decoder can't read yet still open from their embedded JPEG, as before.
- Sony ILCE-7M4 downsized lossless ARWs now decode subsampled YCbCr tiles into linear RGB,
preserving RAW editing & full-resolution export instead of using embedded JPEG previews.
+- Sony A7R II (and other) raws whose camera JPEG is lens-corrected no longer open grey and too dark (issue #232): the
+ starting look is fitted to the camera JPEG away from edges when the misaligned edges spoil the fit on all pixels.
### Presets and profiles
- Import presets from other editors: XMP presets, classic `.lrtemplate` files, "DNG presets" from mobile apps and `.zip`