Skip to content

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

Merge PR #950

Claude10ebeccdc87d
diff --cc apps/lightcraft/src/main.rs
index 42435e39b,daf44fc4e..49cde2da2
--- a/apps/lightcraft/src/main.rs
+++ b/apps/lightcraft/src/main.rs
@@@ -23,9 -23,9 +23,10 @@@
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
mod alloc_release;
+ mod appearance;
mod control_server;
mod dialog_filter;
+mod editors;
mod logging;
#[cfg(target_os = "macos")]
mod native_menu;
diff --cc crates/ui-egui/locales/de.json
index c9a788bd2,a374d35e2..c1854810c
--- a/crates/ui-egui/locales/de.json
+++ b/crates/ui-egui/locales/de.json
@@@ -2045,40 -2045,7 +2058,43 @@@
"Finding faces": "Gesichter werden gesucht",
"Synchronizing folder": "Ordner wird synchronisiert",
"Looking for changes": "Änderungen werden gesucht",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Dies ist ein Lightroom-Katalog, keine LightCraft-Bibliothek. Stattdessen in eine LightCraft-Bibliothek importieren?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "Der Import liest den Katalog, ohne ihn zu ändern, und fügt seine Fotos, Bearbeitungen, Stichwörter und Sammlungen der jetzt geöffneten Bibliothek hinzu.",
+ "Albums hold library photos: Add to My Photos first": "Alben enthalten Bibliotheksfotos: zuerst zu „Meine Fotos“ hinzufügen",
+ "Add to My Photos First": "Zuerst zu „Meine Fotos“ hinzufügen",
+ "Fill Location from GPS": "Ort aus GPS ausfüllen",
+ "Download Place Names (GeoNames)": "Ortsnamen herunterladen (GeoNames)",
+ "Place Names Status": "Status der Ortsnamen",
+ "Fill Location": "Ort ausfüllen",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Leere Felder Stadt, Bundesland und Land aus GPS ausfüllen (GeoNames-Ortsnamen, offline)",
+ "Looking up places": "Orte werden nachgeschlagen",
+ "Downloading place names": "Ortsnamen werden heruntergeladen",
+ "Place names downloaded": "Ortsnamen heruntergeladen",
+ "Place names download cancelled": "Download der Ortsnamen abgebrochen",
+ "Other…": "Andere…",
+ "Intent:": "Priorität:",
+ "Perceptual": "Perzeptiv",
+ "Relative": "Relativ",
+ "Simulate Paper & Ink": "Papier und Druckfarbe simulieren",
+ "Content-Aware": "Inhaltsbasiert",
+ "imported earlier switch over with Photo ▸ Reload from Disk.": "Bereits importierte Fotos wechseln mit Foto → Vom Datenträger neu laden zur RAW-Bearbeitung.",
+ "Canon EOS R5 Mark II C-RAW files that opened as \"preview only\" (more than half of them, depending on the": "C-RAW-Dateien der Canon EOS R5 Mark II, die als „Nur Vorschau“ geöffnet wurden (je nach Motiv mehr als die Hälfte),",
+ "scene) now develop from their sensor data with every editing tool, like the camera's other raws. Photos": "werden jetzt wie die übrigen RAW-Dateien der Kamera aus ihren Sensordaten mit allen Werkzeugen bearbeitet.",
+ "New Library…": "Neue Bibliothek…",
+ "Open Recent Library": "Zuletzt verwendete Bibliothek öffnen",
+ "Recent Libraries": "Zuletzt verwendete Bibliotheken",
+ "Clear Recent Libraries": "Liste leeren",
+ "No Recent Libraries": "Keine zuletzt verwendeten Bibliotheken",
+ "New Library: Choose Where to Put It": "Neue Bibliothek: Speicherort wählen",
+ "New Library": "Neue Bibliothek",
+ "Library name": "Name der Bibliothek",
+ "New Folder on Disk": "Neuer Ordner auf dem Datenträger",
+ "New Folder on Disk…": "Neuer Ordner auf dem Datenträger…",
+ "Move to Folder": "In Ordner verschieben",
+ "Move to Folder…": "In Ordner verschieben…",
+ "Move Selected Photos Here": "Ausgewählte Fotos hierher verschieben",
- "Moves the files and their XMP sidecars into this folder; never overwrites": "Verschiebt die Dateien samt XMP-Filialdateien in diesen Ordner; nichts wird überschrieben"
++ "Moves the files and their XMP sidecars into this folder; never overwrites": "Verschiebt die Dateien samt XMP-Filialdateien in diesen Ordner; nichts wird überschrieben",
+ "Appearance Settings…": "Erscheinungsbild-Einstellungen…",
+ "Add to favorites": "Zu Favoriten hinzufügen",
+ "Remove from favorites": "Aus Favoriten entfernen"
}
diff --cc crates/ui-egui/locales/es.json
index fd9c74647,9f189b733..792ca4d02
--- a/crates/ui-egui/locales/es.json
+++ b/crates/ui-egui/locales/es.json
@@@ -1890,37 -1890,7 +1903,40 @@@
"Finding faces": "Buscando caras",
"Synchronizing folder": "Sincronizando carpeta",
"Looking for changes": "Buscando cambios",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Esto es un catálogo de Lightroom, no una biblioteca de LightCraft. ¿Importarlo a una biblioteca de LightCraft?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "La importación lee el catálogo sin modificarlo y añade sus fotos, ediciones, palabras clave y colecciones a la biblioteca abierta ahora.",
+ "Albums hold library photos: Add to My Photos first": "Los álbumes contienen fotos de la biblioteca: añádelas primero a Mis fotos",
+ "Add to My Photos First": "Añadir primero a Mis fotos",
+ "Fill Location from GPS": "Rellenar ubicación desde GPS",
+ "Download Place Names (GeoNames)": "Descargar nombres de lugares (GeoNames)",
+ "Place Names Status": "Estado de los nombres de lugares",
+ "Fill Location": "Rellenar ubicación",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Rellenar Ciudad, Estado y País vacíos desde el GPS (nombres de lugares de GeoNames, sin conexión)",
+ "Looking up places": "Buscando lugares",
+ "Downloading place names": "Descargando nombres de lugares",
+ "Place names downloaded": "Nombres de lugares descargados",
+ "Place names download cancelled": "Descarga de nombres de lugares cancelada",
+ "Other…": "Otro…",
+ "Intent:": "Propósito:",
+ "Perceptual": "Perceptual",
+ "Relative": "Relativo",
+ "Simulate Paper & Ink": "Simular papel y tinta",
+ "Content-Aware": "Según el contenido",
+ "New Library…": "Nueva biblioteca…",
+ "Open Recent Library": "Abrir biblioteca reciente",
+ "Recent Libraries": "Bibliotecas recientes",
+ "Clear Recent Libraries": "Borrar bibliotecas recientes",
+ "No Recent Libraries": "No hay bibliotecas recientes",
+ "New Library: Choose Where to Put It": "Nueva biblioteca: elige dónde guardarla",
+ "New Library": "Nueva biblioteca",
+ "Library name": "Nombre de la biblioteca",
+ "New Folder on Disk": "Nueva carpeta en el disco",
+ "New Folder on Disk…": "Nueva carpeta en el disco…",
+ "Move to Folder": "Mover a carpeta",
+ "Move to Folder…": "Mover a carpeta…",
+ "Move Selected Photos Here": "Mover aquí las fotos seleccionadas",
- "Moves the files and their XMP sidecars into this folder; never overwrites": "Mueve los archivos y sus archivos XMP auxiliares a esta carpeta; nunca sobrescribe"
++ "Moves the files and their XMP sidecars into this folder; never overwrites": "Mueve los archivos y sus archivos XMP auxiliares a esta carpeta; nunca sobrescribe",
+ "Appearance Settings…": "Ajustes de apariencia…",
+ "Add to favorites": "Añadir a favoritos",
+ "Remove from favorites": "Quitar de favoritos"
}
diff --cc crates/ui-egui/locales/fr.json
index 014c340eb,0430e9c5a..2055d4385
--- a/crates/ui-egui/locales/fr.json
+++ b/crates/ui-egui/locales/fr.json
@@@ -1882,45 -1877,7 +1882,48 @@@
"Finding faces": "Recherche des visages",
"Synchronizing folder": "Synchronisation du dossier",
"Looking for changes": "Recherche des modifications",
+ "Arrange Panel": "Arrange Panel",
+ "Close panel": "Close panel",
+ "Float panel": "Float panel",
+ "Move to group": "Move to group",
+ "Panels": "Panels",
+ "Reset Panel Layout": "Reset Panel Layout",
+ "Resize panel window": "Resize panel window",
+ "Resize panels": "Resize panels",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Ceci est un catalogue Lightroom, pas une bibliothèque LightCraft. L’importer plutôt dans une bibliothèque LightCraft ?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "L’importation lit le catalogue sans le modifier et ajoute ses photos, retouches, mots-clés et collections à la bibliothèque ouverte.",
+ "Albums hold library photos: Add to My Photos first": "Les albums contiennent des photos de la bibliothèque : ajoutez-les d’abord à Mes photos",
+ "Add to My Photos First": "Ajouter d’abord à Mes photos",
+ "Fill Location from GPS": "Remplir le lieu depuis le GPS",
+ "Download Place Names (GeoNames)": "Télécharger les noms de lieux (GeoNames)",
+ "Place Names Status": "État des noms de lieux",
+ "Fill Location": "Remplir le lieu",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Remplir Ville, État et Pays vides depuis le GPS (noms de lieux GeoNames, hors ligne)",
+ "Looking up places": "Recherche des lieux",
+ "Downloading place names": "Téléchargement des noms de lieux",
+ "Place names downloaded": "Noms de lieux téléchargés",
+ "Place names download cancelled": "Téléchargement des noms de lieux annulé",
+ "Other…": "Autre…",
+ "Intent:": "Mode de rendu :",
+ "Perceptual": "Perceptif",
+ "Relative": "Relatif",
+ "Simulate Paper & Ink": "Simuler le papier et l'encre",
+ "Content-Aware": "Contenu pris en compte",
+ "New Library…": "Nouvelle bibliothèque…",
+ "Open Recent Library": "Ouvrir une bibliothèque récente",
+ "Recent Libraries": "Bibliothèques récentes",
+ "Clear Recent Libraries": "Effacer les bibliothèques récentes",
+ "No Recent Libraries": "Aucune bibliothèque récente",
+ "New Library: Choose Where to Put It": "Nouvelle bibliothèque : choisir son emplacement",
+ "New Library": "Nouvelle bibliothèque",
+ "Library name": "Nom de la bibliothèque",
+ "New Folder on Disk": "Nouveau dossier sur le disque",
+ "New Folder on Disk…": "Nouveau dossier sur le disque…",
+ "Move to Folder": "Déplacer vers un dossier",
+ "Move to Folder…": "Déplacer vers un dossier…",
+ "Move Selected Photos Here": "Déplacer ici les photos sélectionnées",
- "Moves the files and their XMP sidecars into this folder; never overwrites": "Déplace les fichiers et leurs fichiers annexes XMP dans ce dossier ; n'écrase jamais rien"
++ "Moves the files and their XMP sidecars into this folder; never overwrites": "Déplace les fichiers et leurs fichiers annexes XMP dans ce dossier ; n'écrase jamais rien",
+ "Appearance Settings…": "Réglages d’apparence…",
+ "Add to favorites": "Ajouter aux favoris",
+ "Remove from favorites": "Retirer des favoris"
}
diff --cc crates/ui-egui/locales/ja.json
index 39206b6e0,5fb2588af..f38a87708
--- a/crates/ui-egui/locales/ja.json
+++ b/crates/ui-egui/locales/ja.json
@@@ -1892,37 -1892,7 +1905,40 @@@
"Finding faces": "顔を検索中",
"Synchronizing folder": "フォルダを同期中",
"Looking for changes": "変更を確認中",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "これは Lightroom カタログで、LightCraft ライブラリではありません。代わりに LightCraft ライブラリに読み込みますか?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "読み込みはカタログを変更せずに読み取り、写真・編集・キーワード・コレクションを現在開いているライブラリに追加します。",
+ "Albums hold library photos: Add to My Photos first": "アルバムに入れられるのはライブラリの写真です:先にマイフォトに追加してください",
+ "Add to My Photos First": "先にマイフォトに追加",
+ "Fill Location from GPS": "GPS から場所を入力",
+ "Download Place Names (GeoNames)": "地名データをダウンロード (GeoNames)",
+ "Place Names Status": "地名データの状態",
+ "Fill Location": "場所を入力",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "空の市区町村・都道府県・国を GPS から入力 (GeoNames の地名、オフライン)",
+ "Looking up places": "場所を検索中",
+ "Downloading place names": "地名データをダウンロード中",
+ "Place names downloaded": "地名データをダウンロードしました",
+ "Place names download cancelled": "地名データのダウンロードを中止しました",
+ "Other…": "その他…",
+ "Intent:": "マッチング方法:",
+ "Perceptual": "知覚的",
+ "Relative": "相対的",
+ "Simulate Paper & Ink": "紙とインキをシミュレート",
+ "Content-Aware": "コンテンツに応じる",
+ "New Library…": "新しいライブラリ…",
+ "Open Recent Library": "最近使ったライブラリを開く",
+ "Recent Libraries": "最近使ったライブラリ",
+ "Clear Recent Libraries": "最近使ったライブラリを消去",
+ "No Recent Libraries": "最近使ったライブラリはありません",
+ "New Library: Choose Where to Put It": "新しいライブラリ:保存場所を選択",
+ "New Library": "新しいライブラリ",
+ "Library name": "ライブラリ名",
+ "New Folder on Disk": "ディスクに新規フォルダ",
+ "New Folder on Disk…": "ディスクに新規フォルダ…",
+ "Move to Folder": "フォルダへ移動",
+ "Move to Folder…": "フォルダへ移動…",
+ "Move Selected Photos Here": "選択した写真をここへ移動",
- "Moves the files and their XMP sidecars into this folder; never overwrites": "ファイルと XMP サイドカーをこのフォルダへ移動します。上書きはしません"
++ "Moves the files and their XMP sidecars into this folder; never overwrites": "ファイルと XMP サイドカーをこのフォルダへ移動します。上書きはしません",
+ "Appearance Settings…": "外観設定…",
+ "Add to favorites": "お気に入りに追加",
+ "Remove from favorites": "お気に入りから削除"
}
diff --cc crates/ui-egui/locales/pt-br.json
index f27bd0e36,7334a0f49..5ab30b05f
--- a/crates/ui-egui/locales/pt-br.json
+++ b/crates/ui-egui/locales/pt-br.json
@@@ -1890,37 -1890,7 +1903,40 @@@
"Finding faces": "Procurando rostos",
"Synchronizing folder": "Sincronizando pasta",
"Looking for changes": "Procurando alterações",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Este é um catálogo do Lightroom, não uma biblioteca do LightCraft. Importá-lo para uma biblioteca do LightCraft?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "A importação lê o catálogo sem alterá-lo e adiciona as fotos, edições, palavras-chave e coleções dele à biblioteca aberta agora.",
+ "Albums hold library photos: Add to My Photos first": "Álbuns contêm fotos da biblioteca: adicione-as às Minhas fotos primeiro",
+ "Add to My Photos First": "Adicionar às Minhas fotos primeiro",
+ "Fill Location from GPS": "Preencher local pelo GPS",
+ "Download Place Names (GeoNames)": "Baixar nomes de lugares (GeoNames)",
+ "Place Names Status": "Status dos nomes de lugares",
+ "Fill Location": "Preencher local",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Preencher Cidade, Estado e País vazios pelo GPS (nomes de lugares GeoNames, offline)",
+ "Looking up places": "Procurando lugares",
+ "Downloading place names": "Baixando nomes de lugares",
+ "Place names downloaded": "Nomes de lugares baixados",
+ "Place names download cancelled": "Download dos nomes de lugares cancelado",
+ "Other…": "Outro…",
+ "Intent:": "Tipo de conversão:",
+ "Perceptual": "Perceptual",
+ "Relative": "Relativo",
+ "Simulate Paper & Ink": "Simular papel e tinta",
+ "Content-Aware": "Sensível ao conteúdo",
+ "New Library…": "Nova biblioteca…",
+ "Open Recent Library": "Abrir biblioteca recente",
+ "Recent Libraries": "Bibliotecas recentes",
+ "Clear Recent Libraries": "Limpar bibliotecas recentes",
+ "No Recent Libraries": "Nenhuma biblioteca recente",
+ "New Library: Choose Where to Put It": "Nova biblioteca: escolha onde salvá-la",
+ "New Library": "Nova biblioteca",
+ "Library name": "Nome da biblioteca",
+ "New Folder on Disk": "Nova pasta no disco",
+ "New Folder on Disk…": "Nova pasta no disco…",
+ "Move to Folder": "Mover para pasta",
+ "Move to Folder…": "Mover para pasta…",
+ "Move Selected Photos Here": "Mover as fotos selecionadas para cá",
- "Moves the files and their XMP sidecars into this folder; never overwrites": "Move os arquivos e seus arquivos XMP auxiliares para esta pasta; nunca sobrescreve"
++ "Moves the files and their XMP sidecars into this folder; never overwrites": "Move os arquivos e seus arquivos XMP auxiliares para esta pasta; nunca sobrescreve",
+ "Appearance Settings…": "Configurações de aparência…",
+ "Add to favorites": "Adicionar aos favoritos",
+ "Remove from favorites": "Remover dos favoritos"
}
diff --cc crates/ui-egui/locales/ru.json
index 2177adbeb,d4bed8e6a..d777309c9
--- a/crates/ui-egui/locales/ru.json
+++ b/crates/ui-egui/locales/ru.json
@@@ -1604,37 -1604,7 +1617,40 @@@
"Quit Anyway": "Всё равно выйти",
"Synchronizing folder": "Синхронизация папки",
"Looking for changes": "Поиск изменений",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Это каталог Lightroom, а не библиотека LightCraft. Импортировать его в библиотеку LightCraft?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "Импорт читает каталог, не изменяя его, и добавляет его фото, правки, ключевые слова и коллекции в открытую сейчас библиотеку.",
+ "Albums hold library photos: Add to My Photos first": "В альбомах только фото из библиотеки: сначала добавьте их в «Мои фото»",
+ "Add to My Photos First": "Сначала добавить в «Мои фото»",
+ "Fill Location from GPS": "Заполнить место по GPS",
+ "Download Place Names (GeoNames)": "Загрузить названия мест (GeoNames)",
+ "Place Names Status": "Состояние названий мест",
+ "Fill Location": "Заполнить место",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Заполнить пустые поля «Город», «Регион» и «Страна» по GPS (названия мест GeoNames, офлайн)",
+ "Looking up places": "Поиск мест",
+ "Downloading place names": "Загрузка названий мест",
+ "Place names downloaded": "Названия мест загружены",
+ "Place names download cancelled": "Загрузка названий мест отменена",
+ "Other…": "Другой…",
+ "Intent:": "Метод:",
+ "Perceptual": "Перцепционный",
+ "Relative": "Относительный",
+ "Simulate Paper & Ink": "Имитировать бумагу и краску",
+ "Content-Aware": "С учётом содержимого",
+ "New Library…": "Новая библиотека…",
+ "Open Recent Library": "Открыть недавнюю библиотеку",
+ "Recent Libraries": "Недавние библиотеки",
+ "Clear Recent Libraries": "Очистить список недавних библиотек",
+ "No Recent Libraries": "Нет недавних библиотек",
+ "New Library: Choose Where to Put It": "Новая библиотека: выберите расположение",
+ "New Library": "Новая библиотека",
+ "Library name": "Название библиотеки",
+ "New Folder on Disk": "Новая папка на диске",
+ "New Folder on Disk…": "Новая папка на диске…",
+ "Move to Folder": "Переместить в папку",
+ "Move to Folder…": "Переместить в папку…",
+ "Move Selected Photos Here": "Переместить выбранные фото сюда",
- "Moves the files and their XMP sidecars into this folder; never overwrites": "Перемещает файлы и их XMP-файлы в эту папку; ничего не перезаписывает"
++ "Moves the files and their XMP sidecars into this folder; never overwrites": "Перемещает файлы и их XMP-файлы в эту папку; ничего не перезаписывает",
+ "Appearance Settings…": "Настройки оформления…",
+ "Add to favorites": "Добавить в избранное",
+ "Remove from favorites": "Удалить из избранного"
}
diff --cc crates/ui-egui/locales/uk.json
index c1e559e42,5efb0e00c..7d6237d27
--- a/crates/ui-egui/locales/uk.json
+++ b/crates/ui-egui/locales/uk.json
@@@ -2076,45 -2071,7 +2076,48 @@@
"Finding faces": "Пошук облич",
"Synchronizing folder": "Синхронізація папки",
"Looking for changes": "Пошук змін",
+ "Arrange Panel": "Arrange Panel",
+ "Close panel": "Close panel",
+ "Float panel": "Float panel",
+ "Move to group": "Move to group",
+ "Panels": "Panels",
+ "Reset Panel Layout": "Reset Panel Layout",
+ "Resize panel window": "Resize panel window",
+ "Resize panels": "Resize panels",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Це каталог Lightroom, а не бібліотека LightCraft. Імпортувати його до бібліотеки LightCraft?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "Імпорт читає каталог, не змінюючи його, і додає його фото, редагування, ключові слова та колекції до відкритої зараз бібліотеки.",
+ "Albums hold library photos: Add to My Photos first": "В альбомах лише фото з бібліотеки: спершу додайте їх до моїх фото",
+ "Add to My Photos First": "Спершу додати до моїх фото",
+ "Fill Location from GPS": "Заповнити місце за GPS",
+ "Download Place Names (GeoNames)": "Завантажити назви місць (GeoNames)",
+ "Place Names Status": "Стан назв місць",
+ "Fill Location": "Заповнити місце",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Заповнити порожні поля «Місто», «Регіон» і «Країна» за GPS (назви місць GeoNames, офлайн)",
+ "Looking up places": "Пошук місць",
+ "Downloading place names": "Завантаження назв місць",
+ "Place names downloaded": "Назви місць завантажено",
+ "Place names download cancelled": "Завантаження назв місць скасовано",
+ "Other…": "Інший…",
+ "Intent:": "Метод:",
+ "Perceptual": "Перцепційний",
+ "Relative": "Відносний",
+ "Simulate Paper & Ink": "Імітувати папір і фарбу",
+ "Content-Aware": "З урахуванням вмісту",
+ "New Library…": "Нова бібліотека…",
+ "Open Recent Library": "Відкрити нещодавню бібліотеку",
+ "Recent Libraries": "Нещодавні бібліотеки",
+ "Clear Recent Libraries": "Очистити список нещодавніх бібліотек",
+ "No Recent Libraries": "Немає нещодавніх бібліотек",
+ "New Library: Choose Where to Put It": "Нова бібліотека: виберіть розташування",
+ "New Library": "Нова бібліотека",
+ "Library name": "Назва бібліотеки",
+ "New Folder on Disk": "Нова тека на диску",
+ "New Folder on Disk…": "Нова тека на диску…",
+ "Move to Folder": "Перемістити до теки",
+ "Move to Folder…": "Перемістити до теки…",
+ "Move Selected Photos Here": "Перемістити вибрані фото сюди",
- "Moves the files and their XMP sidecars into this folder; never overwrites": "Переміщує файли та їхні XMP-файли до цієї теки; нічого не перезаписує"
++ "Moves the files and their XMP sidecars into this folder; never overwrites": "Переміщує файли та їхні XMP-файли до цієї теки; нічого не перезаписує",
+ "Appearance Settings…": "Налаштування вигляду…",
+ "Add to favorites": "Додати до вибраного",
+ "Remove from favorites": "Видалити з вибраного"
}
diff --cc crates/ui-egui/locales/zh-hans.json
index c28b4eee5,8500cebf0..4226c22a1
--- a/crates/ui-egui/locales/zh-hans.json
+++ b/crates/ui-egui/locales/zh-hans.json
@@@ -1890,37 -1890,7 +1903,40 @@@
"Finding faces": "正在查找人脸",
"Synchronizing folder": "正在同步文件夹",
"Looking for changes": "正在查找更改",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "这是 Lightroom 目录,不是 LightCraft 图库。要改为将其导入 LightCraft 图库吗?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "导入只读取目录、不做任何更改,并将其中的照片、编辑、关键字和收藏夹添加到当前打开的图库。",
+ "Albums hold library photos: Add to My Photos first": "相册只能收录图库中的照片:请先添加到我的照片",
+ "Add to My Photos First": "先添加到我的照片",
+ "Fill Location from GPS": "根据 GPS 填写位置",
+ "Download Place Names (GeoNames)": "下载地名数据 (GeoNames)",
+ "Place Names Status": "地名数据状态",
+ "Fill Location": "填写位置",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "根据 GPS 填写空白的城市、省/州和国家(GeoNames 地名,离线)",
+ "Looking up places": "正在查找地点",
+ "Downloading place names": "正在下载地名数据",
+ "Place names downloaded": "地名数据已下载",
+ "Place names download cancelled": "已取消下载地名数据",
+ "Other…": "其他…",
+ "Intent:": "方法:",
+ "Perceptual": "可感知",
+ "Relative": "相对",
+ "Simulate Paper & Ink": "模拟纸张和油墨",
+ "Content-Aware": "内容识别",
+ "New Library…": "新建图库…",
+ "Open Recent Library": "打开最近的图库",
+ "Recent Libraries": "最近的图库",
+ "Clear Recent Libraries": "清除最近的图库",
+ "No Recent Libraries": "没有最近的图库",
+ "New Library: Choose Where to Put It": "新建图库:选择存放位置",
+ "New Library": "新建图库",
+ "Library name": "图库名称",
+ "New Folder on Disk": "在磁盘上新建文件夹",
+ "New Folder on Disk…": "在磁盘上新建文件夹…",
+ "Move to Folder": "移动到文件夹",
+ "Move to Folder…": "移动到文件夹…",
+ "Move Selected Photos Here": "将所选照片移到此处",
- "Moves the files and their XMP sidecars into this folder; never overwrites": "将文件及其 XMP 附属文件移到此文件夹;绝不覆盖"
++ "Moves the files and their XMP sidecars into this folder; never overwrites": "将文件及其 XMP 附属文件移到此文件夹;绝不覆盖",
+ "Appearance Settings…": "外观设置…",
+ "Add to favorites": "添加到收藏",
+ "Remove from favorites": "从收藏中移除"
}
diff --cc crates/ui-egui/locales/zh-hant.json
index fba96a088,de59fb15f..717c1449c
--- a/crates/ui-egui/locales/zh-hant.json
+++ b/crates/ui-egui/locales/zh-hant.json
@@@ -1890,37 -1890,7 +1903,40 @@@
"Finding faces": "正在尋找臉孔",
"Synchronizing folder": "正在同步資料夾",
"Looking for changes": "正在尋找變更",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "這是 Lightroom 目錄,不是 LightCraft 照片庫。要改為將其匯入 LightCraft 照片庫嗎?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "匯入只讀取目錄、不做任何變更,並將其中的照片、編輯、關鍵字和收藏夾加入目前開啟的照片庫。",
+ "Albums hold library photos: Add to My Photos first": "相簿只能收錄圖庫中的照片:請先加入我的照片",
+ "Add to My Photos First": "先加入我的照片",
+ "Fill Location from GPS": "根據 GPS 填寫位置",
+ "Download Place Names (GeoNames)": "下載地名資料 (GeoNames)",
+ "Place Names Status": "地名資料狀態",
+ "Fill Location": "填寫位置",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "根據 GPS 填寫空白的城市、州/省和國家(GeoNames 地名,離線)",
+ "Looking up places": "正在查找地點",
+ "Downloading place names": "正在下載地名資料",
+ "Place names downloaded": "地名資料已下載",
+ "Place names download cancelled": "已取消下載地名資料",
+ "Other…": "其他…",
+ "Intent:": "方式:",
+ "Perceptual": "感知",
+ "Relative": "相對",
+ "Simulate Paper & Ink": "模擬紙張和油墨",
+ "Content-Aware": "內容感知",
+ "New Library…": "新增圖庫…",
+ "Open Recent Library": "開啟最近的圖庫",
+ "Recent Libraries": "最近的圖庫",
+ "Clear Recent Libraries": "清除最近的圖庫",
+ "No Recent Libraries": "沒有最近的圖庫",
+ "New Library: Choose Where to Put It": "新增圖庫:選擇存放位置",
+ "New Library": "新增圖庫",
+ "Library name": "圖庫名稱",
+ "New Folder on Disk": "在磁碟上新增資料夾",
+ "New Folder on Disk…": "在磁碟上新增資料夾…",
+ "Move to Folder": "移至資料夾",
+ "Move to Folder…": "移至資料夾…",
+ "Move Selected Photos Here": "將所選照片移至此處",
- "Moves the files and their XMP sidecars into this folder; never overwrites": "將檔案及其 XMP 附屬檔案移至此資料夾;絕不覆寫"
++ "Moves the files and their XMP sidecars into this folder; never overwrites": "將檔案及其 XMP 附屬檔案移至此資料夾;絕不覆寫",
+ "Appearance Settings…": "外觀設定…",
+ "Add to favorites": "加入最愛",
+ "Remove from favorites": "從最愛移除"
}
diff --cc crates/ui-egui/src/lib.rs
index 299728743,84b9ab738..57630067f
--- a/crates/ui-egui/src/lib.rs
+++ b/crates/ui-egui/src/lib.rs
@@@ -43,16 -41,10 +43,18 @@@ mod tests_activity
#[cfg(test)]
mod tests_album_picker;
#[cfg(test)]
+mod tests_before_after;
+#[cfg(test)]
+mod tests_compare;
+#[cfg(test)]
+mod tests_copy_paste_dialogs;
+#[cfg(test)]
+ mod tests_appearance;
+ #[cfg(test)]
mod tests_crop_rotate;
#[cfg(test)]
+mod tests_crop_tool;
+#[cfg(test)]
mod tests_curve;
#[cfg(test)]
mod tests_date_picker;
diff --cc crates/ui-egui/src/menubar.rs
index 855babdf5,a39453a02..8a0cede2d
--- a/crates/ui-egui/src/menubar.rs
+++ b/crates/ui-egui/src/menubar.rs
@@@ -135,9 -130,9 +135,10 @@@ const LAYOUT: &[(&str, &[&str])] = &
"view.histogram",
"view.navigator",
"view.infoOverlay",
+ "@Appearance",
"---",
"view.fullScreenPreview",
+ "view.lightsOut",
"view.enterFullScreen",
"---",
"view.showOriginal",
diff --cc crates/ui-egui/src/menus.rs
index ea027ef1c,7f23167f7..8ce9f20be
--- a/crates/ui-egui/src/menus.rs
+++ b/crates/ui-egui/src/menus.rs
@@@ -272,11 -269,43 +277,46 @@@ pub fn parse_rgb(v: &Value) -> Option<[
Some([c(0)?, c(1)?, c(2)?])
}
+ fn appearance_json(app: &LightcraftApp) -> Value {
+ let s = &app.ui.settings;
+ json!({"mode": s.appearance_mode, "darkTheme": s.dark_theme, "lightTheme": s.light_theme})
+ }
+
+ /// `view.appearance {mode?}`: set Appearance Mode, or step to the next one (Auto, Light, Dark).
+ /// The theme follows on the next frame ([`LightcraftApp::sync_theme`]).
+ fn appearance_command(app: &mut LightcraftApp, p: &Value) -> Result<Value, String> {
+ use crate::state::AppearanceMode;
+ let mode = match p.get("mode") {
+ None | Some(Value::Null) => app.ui.settings.appearance_mode.next(),
+ Some(v) => match v.as_str() {
+ Some("auto") => AppearanceMode::Auto,
+ Some("light") => AppearanceMode::Light,
+ Some("dark") => AppearanceMode::Dark,
+ _ => return Err(format!("view.appearance: unknown mode {v} (auto|light|dark)")),
+ },
+ };
+ app.ui.settings.appearance_mode = mode;
+ Ok(appearance_json(app))
+ }
+
+ /// `view.theme {theme}`: pick a theme; the mode becomes its family's (Dark or Light).
+ fn theme_command(app: &mut LightcraftApp, p: &Value) -> Result<Value, String> {
+ let ids = crate::theme::ThemeKind::ALL.map(|k| k.id()).join("|");
+ let Some(id) = p.get("theme").and_then(Value::as_str) else {
+ return Err(format!("view.theme: `theme` is required ({ids})"));
+ };
+ let Some(kind) = crate::theme::ThemeKind::ALL.into_iter().find(|k| k.id() == id) else {
+ return Err(format!("view.theme: unknown theme `{id}` ({ids})"));
+ };
+ app.ui.settings.select_theme(kind);
+ Ok(appearance_json(app))
+ }
+
/// Handle UI commands; `None` means "not a UI command — send it to the engine".
pub fn run_ui_command(app: &mut LightcraftApp, id: &str, p: &Value) -> Option<Result<Value, String>> {
+ if matches!(id, "ui.dock" | "ui.dock.reset") {
+ return Some(crate::docking::command(app, id == "ui.dock.reset", p));
+ }
if matches!(id, "library.inspectLightroom" | "library.importLightroom") {
// the app's own context: a fresh one's repaints reach no window and its clock starts at zero
let ctx = app.tasks.repaint.clone().unwrap_or_default();
diff --cc crates/ui-egui/src/panels/dialogs.rs
index 661224af2,1b61235a0..26684fdec
--- a/crates/ui-egui/src/panels/dialogs.rs
+++ b/crates/ui-egui/src/panels/dialogs.rs
@@@ -171,21 -60,6 +171,27 @@@ pub const ABOUT_TABS: &[(&str, &str)]
/// Help ▸ What's New (docs/whats-new.md).
pub const WHATS_NEW: &str = include_str!("../../../../docs/whats-new.md");
++/// The import review and Settings keep window ids of their own, so the size each is given
++/// doesn't carry over to the other dialogs.
+fn window_id(dialog: &Dialog) -> egui::Id {
- egui::Id::new(if matches!(dialog, Dialog::Import { .. }) { "lightcraft-import-dialog" } else { "lightcraft-dialog" })
++ egui::Id::new(match dialog {
++ Dialog::Import { .. } => "lightcraft-import-dialog",
++ Dialog::Settings { .. } => "lightcraft-settings-dialog",
++ _ => "lightcraft-dialog",
++ })
+}
+
+/// Block the underlying panels from the first frame, before the window establishes its modal
+/// layer. Close background menus on entry; popups subsequently opened inside the dialog stay usable.
+pub(crate) fn prepare(app: &LightcraftApp, ui: &mut egui::Ui) {
+ let Some(dialog) = &app.ui.dialog else { return };
+ ui.disable();
+ let layer = egui::LayerId::new(egui::Order::Middle, window_id(dialog));
+ if ui.ctx().memory(|m| m.top_modal_layer()) != Some(layer) {
+ egui::Popup::close_all(ui.ctx());
+ }
+}
+
pub fn show(app: &mut LightcraftApp, ctx: &egui::Context) {
let Some(mut dlg) = app.ui.dialog.clone() else { return };
let at_start = dlg.clone();
diff --cc crates/ui-egui/src/state.rs
index f3e64e001,7f0cc61b4..d1ca27aca
--- a/crates/ui-egui/src/state.rs
+++ b/crates/ui-egui/src/state.rs
@@@ -127,40 -127,67 +127,101 @@@ impl InfoOverlay
}
}
+/// Lights Out (View ▸ Lights Out, Shift+L cycles On → Dim → Off → On; Esc turns the lights back
+/// on): everything but the photo is veiled in black, the panels stay where they are.
+#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
+#[serde(rename_all = "camelCase")]
+pub enum LightsOut {
+ #[default]
+ On,
+ /// The interface at 20 % brightness.
+ Dim,
+ /// The interface black.
+ Off,
+}
+
+impl LightsOut {
+ pub fn next(self) -> LightsOut {
+ match self {
+ LightsOut::On => LightsOut::Dim,
+ LightsOut::Dim => LightsOut::Off,
+ LightsOut::Off => LightsOut::On,
+ }
+ }
+
+ /// Opacity of the black veil over everything but the photo.
+ pub fn veil(self) -> f32 {
+ match self {
+ LightsOut::On => 0.0,
+ LightsOut::Dim => 0.8,
+ LightsOut::Off => 1.0,
+ }
+ }
+}
+/// How many libraries File ▸ Open Recent Library remembers.
+pub const RECENT_LIBRARIES: usize = 8;
+
+ /// Whether the interface uses the dark or the light theme (Settings ▸ Interface ▸ Appearance).
+ #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
+ #[serde(rename_all = "camelCase")]
+ pub enum AppearanceMode {
+ /// Follow the operating system's dark/light setting (dark when it gives no answer).
+ Auto,
+ /// The dark theme, whatever the system says (the default: LightCraft's look so far).
+ #[default]
+ Dark,
+ Light,
+ }
+
+ impl AppearanceMode {
+ /// The header button's order: Auto, Light, Dark, then Auto again.
+ pub fn next(self) -> AppearanceMode {
+ match self {
+ AppearanceMode::Auto => AppearanceMode::Light,
+ AppearanceMode::Light => AppearanceMode::Dark,
+ AppearanceMode::Dark => AppearanceMode::Auto,
+ }
+ }
+ }
+
+ /// The theme the dark appearance uses.
+ #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
+ #[serde(rename_all = "camelCase")]
+ pub enum DarkTheme {
+ #[default]
+ Charcoal,
+ Midnight,
+ }
+
+ /// The theme the light appearance uses.
+ #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
+ #[serde(rename_all = "camelCase")]
+ pub enum LightTheme {
+ #[default]
+ Silver,
+ Paper,
+ }
+
+ impl DarkTheme {
+ pub const ALL: [DarkTheme; 2] = [DarkTheme::Charcoal, DarkTheme::Midnight];
+ pub fn kind(self) -> crate::theme::ThemeKind {
+ match self {
+ DarkTheme::Charcoal => crate::theme::ThemeKind::Charcoal,
+ DarkTheme::Midnight => crate::theme::ThemeKind::Midnight,
+ }
+ }
+ }
+
+ impl LightTheme {
+ pub const ALL: [LightTheme; 2] = [LightTheme::Silver, LightTheme::Paper];
+ pub fn kind(self) -> crate::theme::ThemeKind {
+ match self {
+ LightTheme::Silver => crate::theme::ThemeKind::Silver,
+ LightTheme::Paper => crate::theme::ThemeKind::Paper,
+ }
+ }
+ }
+
/// App-level preferences (Settings dialog). They belong to the app, not a library, and are
/// saved with the UI state in the app's config folder (`ui.json`, key `settings`); library
/// preferences (import defaults, XMP, cache size) live in the library's `prefs.json`.
diff --cc crates/ui-egui/src/theme.rs
index 620871c36,2849723ff..f383f3337
--- a/crates/ui-egui/src/theme.rs
+++ b/crates/ui-egui/src/theme.rs
@@@ -234,18 -379,28 +379,21 @@@ pub fn apply_kind(ctx: &egui::Context,
v.selection.bg_fill = t.accent.gamma_multiply(0.6);
v.selection.stroke = Stroke::new(1.0, t.accent);
v.override_text_color = Some(t.text_label);
- v.popup_shadow = egui::epaint::Shadow { offset: [0, 4], blur: 16, spread: 0, color: Color32::from_black_alpha(140) };
- v.window_shadow = egui::epaint::Shadow { offset: [0, 8], blur: 30, spread: 0, color: Color32::from_black_alpha(160) };
+ let (popup, window) = if dark { (140, 160) } else { (50, 60) };
+ v.popup_shadow = egui::epaint::Shadow { offset: [0, 4], blur: 16, spread: 0, color: Color32::from_black_alpha(popup) };
+ v.window_shadow = egui::epaint::Shadow { offset: [0, 8], blur: 30, spread: 0, color: Color32::from_black_alpha(window) };
let w = &mut v.widgets;
- for (wv, fill) in [
- (&mut w.noninteractive, t.chrome),
- (&mut w.inactive, t.button),
- (&mut w.hovered, t.hover),
- (&mut w.active, t.pressed),
- (&mut w.open, t.hover),
- ] {
- wv.bg_fill = fill;
- wv.weak_bg_fill = fill;
- wv.corner_radius = CornerRadius::same(4);
- wv.fg_stroke = Stroke::new(1.0, t.text_label);
- }
+ craft_ui::theme::WidgetPalette { noninteractive: t.chrome, inactive: t.button, hovered: t.hover, active: t.pressed, open: t.hover }.apply_to(
+ w,
+ CornerRadius::same(4),
+ Stroke::new(1.0, t.text_label),
+ );
w.noninteractive.bg_stroke = Stroke::new(1.0, t.divider);
w.inactive.bg_stroke = Stroke::new(1.0, t.button_border);
- ctx.set_visuals(v);
- ctx.global_style_mut(|s| {
+ ctx.set_visuals_of(egui::Theme::Dark, v.clone());
+ ctx.set_visuals_of(egui::Theme::Light, v);
+ ctx.set_theme(if dark { egui::Theme::Dark } else { egui::Theme::Light });
+ ctx.all_styles_mut(|s| {
s.spacing.item_spacing = egui::vec2(6.0, 4.0);
s.spacing.button_padding = egui::vec2(8.0, 3.0);
s.spacing.interact_size.y = 22.0;
diff --cc docs/parity-checklist.md
index 7c345055d,4d81d1e4c..ee6a5e1b2
--- a/docs/parity-checklist.md
+++ b/docs/parity-checklist.md
@@@ -424,10 -489,11 +424,10 @@@ differences and missing bindings are i
| LR-PREF-GENERAL | General settings | P0 | ✅ | `cmd:app.settings`, `cmd:app.openLibrary`, `crates/ui-egui/src/panels/settings.rs`, `crates/ui-egui/src/panels/notices.rs` | General / Import / Performance / Display / Interface tabs; app settings in ui.json (written atomically, saved when the library changes and every few seconds), library settings in prefs.json; a damaged settings file is kept as `.corrupt-<time>` and reported, an unreadable one is not overwritten that session (`library.info` → `settingsWarnings`); quitting with unsaved changes retries, then asks |
| LR-PREF-LOCALSTORAGE | Storage & cache | P1 | ✅ | `cmd:library.preferences`, `cmd:library.clearPreviews`, `cmd:library.compact` | thumbnail cache size + clear in Settings → Performance; library location + Open Library… in General |
| LR-PREF-ACCOUNT | Account | OOS | 🚫 | | |
- | LR-PREF-INTERFACE | Interface options | P1 | ✅ | `cmd:app.settings` | filmstrip names/badges, grid badges (auto/always/never), square-grid names, navigator, info overlay |
+ | LR-PREF-INTERFACE | Interface options | P1 | ✅ | `cmd:app.settings`, `cmd:view.appearance`, `cmd:view.theme` | Appearance Mode (Sync with System / Dark / Light; the top bar button cycles Auto, Light, Dark) with separate dark (Charcoal, Midnight) and light (Silver, Paper) themes previewed in cards; hover stars persist favorite themes, the appearance button context menu opens Interface settings and lists light favorites before dark favorites; filmstrip names/badges, grid badges (auto/always/never), square-grid names, navigator, info overlay |
| LR-PREF-DISPLAY | Monitor (display) colour management | P1 | 🟡 | `cmd:app.displayProfile`, `crates/codecs/src/display.rs`, `crates/engine/src/display.rs`, `crates/ui-egui/src/panels/settings.rs`, `docs/display-profiles.md` | Settings ▸ Display: a monitor ICC profile (matrix/TRC exactly, LUT-based through the CMS) chosen by hand; the loupe, Before, Compare, hover previews and the second window render into the display's primaries (its full gamut, CPU and GPU), thumbnails and stand-ins are converted from sRGB; histogram, preview caches and exports stay sRGB; soft proofing's display gamut warning uses the display's gamut. Missing: picking up the profile the OS assigns (X11 `_ICC_PROFILE`, colord, ColorSync, WCS), per-monitor profiles |
-
-| LR-PREF-PERFORMANCE | GPU / performance | P1 | ✅ | `cmd:app.gpu`, `cmd:app.memoryBudget`, `cmd:app.settings` | GPU on/off, preview size (Automatic = the whole-frame loupe render at canvas size, up to 2560 px; or a 1600–5120 px size for it; zoomed views add a window at up to 100 %, issue #323), memory budget (a quarter of it is the idle per-view stage caches' share; the open photo's views are counted and reported, and cut only past four times that, the before side's and the zoom window's first — a Before/After at 1:1 on a 2800 px canvas holds about 1 GB of GPU stages, plus the one 288 MB copy of the original, which `ui.inspect` reports as `sharedSourceBytes`), thumbnail cache size in Settings |
-| LR-PREF-PEOPLE | Face recognition | P2 | 🟡 | `cmd:faces.enable`, `cmd:faces.models.list`, `cmd:faces.models.inspect`, `cmd:faces.models.install`, `cmd:faces.models.download`, `cmd:faces.models.downloads`, `cmd:faces.models.downloadCancel`, `cmd:faces.models.remove`, `cmd:faces.models.select`, `cmd:dialog.faceModel`, `crates/faces/src/lib.rs`, `crates/ui-egui/src/panels/faces.rs` | Settings ▸ Faces: an off-by-default toggle and the face model list. Models are opt-in and never bundled, the 232 KB YuNet detector included. Press Download (terms first; then a pinned address, size and SHA-256 checked, fetched over pure-Rust https with `lightcraft-fetch`), or add any `.onnx` by picking or dropping it: it is recognised by hash or described from its shape, shows its licence terms and training-data note, runs a self-test, and installs only after an "I accept" box; an installed model is chosen and recognition switched on at once (the newest wins, each model keeps its own embedding cache). Non-commercial models are add-by-file only, never offered for download. Suggestions of names run on the shared pure-Rust CPU interpreter (`crates/faces/src/net.rs`, `crates/faces/src/runtime.rs`; bounded im2col/GEMM, checked ONNX shapes/operators; no external inference runtime; 40 public crops agree within 2.1e-6, one-thread SFace 34–36 ms / AuraFace 233–252 ms, see docs/faces.md) in a background worker and are never applied automatically. Thresholds are starting points calibrated on busts, not yet on live faces
+| LR-PREF-PERFORMANCE | GPU / performance | P1 | ✅ | `cmd:app.gpu`, `cmd:app.memoryBudget`, `cmd:app.settings` | GPU on/off (a crash while the GPU device or its kernels are built, issue #250, turns it off for the next launch), preview size (Automatic = the whole-frame loupe render at canvas size, up to 2560 px; or a 1600–5120 px size for it; zoomed views add a window at up to 100 %, issue #323), memory budget (a quarter of it is the idle per-view stage caches' share; the open photo's views are counted and reported, and cut only past four times that, the before side's and the zoom window's first — a Before/After at 1:1 on a 2800 px canvas holds about 1 GB of GPU stages, plus the one 288 MB copy of the original, which `ui.inspect` reports as `sharedSourceBytes`), thumbnail cache size in Settings |
+| LR-PREF-PEOPLE | Face recognition | P2 | 🟡 | `cmd:faces.enable`, `cmd:faces.models.list`, `cmd:faces.models.inspect`, `cmd:faces.models.install`, `cmd:faces.models.download`, `cmd:faces.models.downloads`, `cmd:faces.models.downloadCancel`, `cmd:faces.models.remove`, `cmd:faces.models.select`, `cmd:dialog.faceModel`, `crates/faces/src/lib.rs`, `crates/ui-egui/src/panels/faces.rs` | Settings ▸ Faces: an off-by-default toggle and the face model list. Models are opt-in and never bundled, the 232 KB YuNet detector included. Press Download (terms first; then a pinned address, size and SHA-256 checked, fetched over pure-Rust https with `lightcraft-fetch`), or add any `.onnx` by picking or dropping it: it is recognised by hash or described from its shape, shows its licence terms and training-data note, runs a self-test, and installs only after an "I accept" box; an installed model is chosen and recognition switched on at once (the newest wins, each model keeps its own embedding cache). Non-commercial models are add-by-file only, never offered for download. Suggestions of names run on the shared pure-Rust CPU interpreter (`crates/faces/src/net.rs`, `crates/faces/src/runtime.rs`; bounded im2col/GEMM, checked ONNX shapes/operators; no external inference runtime; 40 public crops agree within 2.1e-6, one-thread SFace 34–36 ms / AuraFace 233–252 ms, see docs/faces.md) in a background worker and are never applied automatically. Thresholds are starting points calibrated on busts, not yet on live faces; the Recognise faces switch is off until a recognition model is chosen and installed (`faces.enable {enabled: true}` refuses otherwise; removing the last recogniser switches it off), issue #678 |
| LR-PREF-WATERMARK | Watermark settings | P1 | ✅ | `cmd:export.savePreset`, `crates/ui-egui/src/panels/dialogs.rs` | set in the Export dialog; kept with Export with Previous and in saved export presets |
| LR-PREF-SHORTCUTS | Shortcut customisation | — | ✅ | `cmd:app.setShortcut`, `cmd:app.resetShortcuts`, `crates/ui-egui/src/panels/keymap.rs` | an extra (the reference app has no keymap editor): Help ▸ Keyboard Shortcuts (⌘/) lists every command; click a shortcut and press the new keys (Esc cancels), × removes, ↺ restores, Reset All; a key another command had moves over; saved in `ui.json`; native menu accelerators follow. Rating/label digits and secondary keys are listed read-only and yield to a key given to a command |
| LR-PREF-TECHPREVIEW | Early-access toggles | P2 | ⬜ | | |
diff --cc docs/whats-new.md
index 95b298ba0,507f31319..7c8475552
--- a/docs/whats-new.md
+++ b/docs/whats-new.md
@@@ -1,45 -1,15 +1,53 @@@
# What's new in LightCraft
-## October 2026
+## 2026-10-11
+
+### Open Library knows a Lightroom catalog
+- Choosing a Lightroom Classic catalog folder in File → Open Library… (or one of its `Previews.lrdata` /
+ `.lrcat-data` folders, or the `.lrcat`) no longer makes an empty LightCraft library inside it (issue #891). The
+ library open now stays, and LightCraft says "This is a Lightroom catalog, not a LightCraft library" and offers
+ **Import Lightroom Catalog…** with that catalog, or Cancel. `lightcraft-cli --library` refuses those folders too.
+
+### Canon EOS R5 Mark II
+- Canon EOS R5 Mark II C-RAW files that opened as "preview only" (more than half of them, depending on the
+ scene) now develop from their sensor data with every editing tool, like the camera's other raws. Photos
+ imported earlier switch over with Photo ▸ Reload from Disk.
+
+### Switching libraries
+- File ▸ New Library… asks for a name, then where to put it, and opens the new library (issue #902).
+- File ▸ Open Recent Library lists the last 8 libraries; ones that are gone (moved, drive disconnected) are greyed
+ out. Clear Recent Libraries empties the list.
+- The open library's name shows under My Photos at the top of the left panel and in the window title.
+- `lightcraft-cli --library` given a library's own file (`catalog.snap`) opens its folder instead of failing with
+ "File exists".
+- Agents use `app.newLibrary {path, name}`, `app.recentLibraries` and `app.clearRecentLibraries`.
+
+### Edit in PhotoCraft
+- Right-click a photo ▸ Edit In ▸ Edit in PhotoCraft (or Photo ▸ Edit In, ⇧⌘E) renders a copy with your edits, stacks it
+ with the original and opens it in PhotoCraft. LightCraft finds PhotoCraft where its installer put it (Windows,
+ macOS, Linux packages, AppImage, Flatpak), and says so if it isn't installed, before making a copy.
+- The copy is a 16-bit PSD by default, which PhotoCraft saves straight back to with File ▸ Save; when you come back to
+ LightCraft the copy shows what you saved.
+- Settings ▸ General ▸ External Editing: the format (PSD or TIFF), colour space and bit depth for PhotoCraft and for
+ the other editor (Edit in Other Editor, now ⌥⌘E), and where PhotoCraft is if you use a portable copy.
+- Export can write PSD too (flat, 8- or 16-bit).
+
+## 2026-10-10
+
+### Dialogs fit the window
+- A dialog taller than the window no longer runs off it (issue #781): on a 1366×768 screen the Export dialog's title
+ and its Cancel / OK buttons were off screen, so it couldn't be confirmed. Now its options scroll and the title and
+ buttons stay visible. Long lists in dialogs (What's New, All Metadata, Keyboard Shortcuts) get shorter to fit.
+ Dialogs that fit look as before.
+ ### Appearance
+ - Settings ▸ Interface ▸ Appearance Mode: Sync with System, Dark Mode or Light Mode, above a light
+ and a dark theme card, each previewing its theme (dark: Charcoal, the look so far, or Midnight;
+ light: Silver or Paper). New and existing installs stay dark; following the system is opt-in.
+ - The top bar's appearance button cycles Auto, Light, Dark (a monitor, sun or moon), and View ▸
+ Appearance lists the modes and themes. On Linux, Auto follows the desktop portal's colour scheme
+ as it changes, without polling.
+
### Activity stack
- Long-running tasks show in one place, top left under the top bar, as in Lightroom Classic (issue #345): imports and
folder scans, exports (and the contact sheet PDF), Synchronize Folder, Build / Smart Previews, Lightroom catalog import, Photo Merge, model downloads, the face scan,