Skip to content

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

Merge slideshow-titles into slideshow-templates (origin/main: batches 32–33)

Jason Baldwind747c9e0f6ef
diff --cc crates/ui-egui/locales/de-formats.json
index 9b9cf51a3,dff2ddb75..91b91a26a
--- a/crates/ui-egui/locales/de-formats.json
+++ b/crates/ui-egui/locales/de-formats.json
@@@ -245,13 -245,7 +245,16 @@@
"{n} added to Apple Photos album “{album}”": "{n} zum Apple-Fotos-Album „{album}“ hinzugefügt",
"{n} added to Apple Photos": "{n} zu Apple Fotos hinzugefügt",
"{n} photos opened for editing; each is stacked with its original": "{n} Fotos zur Bearbeitung geöffnet; jedes ist mit seinem Original gestapelt",
+ "{name} opened in the other editor": "{name} im anderen Editor geöffnet",
+ "{n} originals opened in the other editor": "{n} Originale im anderen Editor geöffnet",
- "· {in_source} identical copies": "· {in_source} identische Kopien"
++ "· {in_source} identical copies": "· {in_source} identische Kopien",
+ "Applied {name}": "{name} angewendet",
+ "Delete “{name}”?": "„{name}“ löschen?",
+ "Updated {name}": "{name} aktualisiert",
+ "Exported to {path}": "Exportiert nach {path}",
+ "Saved template {name}": "Vorlage {name} gespeichert",
+ "Imported {name}": "{name} importiert",
+ "Skipped {problem}": "Übersprungen: {problem}",
+ "…and {more} more": "…und {more} weitere",
+ "Template preview: {name}": "Vorlagenvorschau: {name}"
}
diff --cc crates/ui-egui/locales/es-formats.json
index 8756384d0,452fc6621..b885aabda
--- a/crates/ui-egui/locales/es-formats.json
+++ b/crates/ui-egui/locales/es-formats.json
@@@ -245,13 -245,7 +245,16 @@@
"{n} added to Apple Photos album “{album}”": "{n} añadidas al álbum “{album}” de Fotos de Apple",
"{n} added to Apple Photos": "{n} añadidas a Fotos de Apple",
"{n} photos opened for editing; each is stacked with its original": "{n} fotos abiertas para editar; cada una está apilada con su original",
+ "{name} opened in the other editor": "{name} abierto en el otro editor",
+ "{n} originals opened in the other editor": "{n} originales abiertos en el otro editor",
- "· {in_source} identical copies": "· {in_source} copias idénticas"
++ "· {in_source} identical copies": "· {in_source} copias idénticas",
+ "Applied {name}": "Se aplicó {name}",
+ "Delete “{name}”?": "¿Eliminar «{name}»?",
+ "Updated {name}": "Se actualizó {name}",
+ "Exported to {path}": "Exportado a {path}",
+ "Saved template {name}": "Plantilla {name} guardada",
+ "Imported {name}": "Se importó {name}",
+ "Skipped {problem}": "Omitido: {problem}",
+ "…and {more} more": "…y {more} más",
+ "Template preview: {name}": "Vista previa de la plantilla: {name}"
}
diff --cc crates/ui-egui/locales/fr-formats.json
index e30fd95a3,d85e837a3..237caa5b6
--- a/crates/ui-egui/locales/fr-formats.json
+++ b/crates/ui-egui/locales/fr-formats.json
@@@ -245,13 -245,7 +245,16 @@@
"{n} added to Apple Photos album “{album}”": "{n} ajouté(s) à l'album Apple Photos « {album} »",
"{n} added to Apple Photos": "{n} ajouté(s) à Apple Photos",
"{n} photos opened for editing; each is stacked with its original": "{n} photos ouvertes pour modification ; chacune est empilée avec son original",
+ "{name} opened in the other editor": "{name} ouvert dans l’autre éditeur",
+ "{n} originals opened in the other editor": "{n} originaux ouverts dans l’autre éditeur",
- "· {in_source} identical copies": "· {in_source} copies identiques"
++ "· {in_source} identical copies": "· {in_source} copies identiques",
+ "Applied {name}": "{name} appliqué",
+ "Delete “{name}”?": "Supprimer « {name} » ?",
+ "Updated {name}": "{name} mis à jour",
+ "Exported to {path}": "Exporté vers {path}",
+ "Saved template {name}": "Modèle {name} enregistré",
+ "Imported {name}": "{name} importé",
+ "Skipped {problem}": "Ignoré : {problem}",
+ "…and {more} more": "…et {more} de plus",
+ "Template preview: {name}": "Aperçu du modèle : {name}"
}
diff --cc crates/ui-egui/locales/ja-formats.json
index 0d35ac851,211e47e29..7d005ef26
--- a/crates/ui-egui/locales/ja-formats.json
+++ b/crates/ui-egui/locales/ja-formats.json
@@@ -245,13 -245,7 +245,16 @@@
"{n} added to Apple Photos album “{album}”": "{n}件をAppleの写真のアルバム「{album}」に追加しました",
"{n} added to Apple Photos": "{n}件をAppleの写真に追加しました",
"{n} photos opened for editing; each is stacked with its original": "{n}枚の写真を編集用に開きました。それぞれ元の写真とスタックされています",
+ "{name} opened in the other editor": "{name}を別のエディタで開きました",
+ "{n} originals opened in the other editor": "{n}個の元ファイルを別のエディタで開きました",
- "· {in_source} identical copies": "・同一のコピー {in_source} 件"
++ "· {in_source} identical copies": "・同一のコピー {in_source} 件",
+ "Applied {name}": "{name} を適用しました",
+ "Delete “{name}”?": "「{name}」を削除しますか?",
+ "Updated {name}": "{name} を更新しました",
+ "Exported to {path}": "{path} に書き出しました",
+ "Saved template {name}": "テンプレート {name} を保存しました",
+ "Imported {name}": "{name} を読み込みました",
+ "Skipped {problem}": "スキップ: {problem}",
+ "…and {more} more": "…ほか {more} 件",
+ "Template preview: {name}": "テンプレートのプレビュー: {name}"
}
diff --cc crates/ui-egui/locales/pt-br-formats.json
index 6850e8f4c,e5f32f551..6e372a2ed
--- a/crates/ui-egui/locales/pt-br-formats.json
+++ b/crates/ui-egui/locales/pt-br-formats.json
@@@ -245,13 -245,7 +245,16 @@@
"{n} added to Apple Photos album “{album}”": "{n} adicionadas ao álbum “{album}” do Fotos da Apple",
"{n} added to Apple Photos": "{n} adicionadas ao Fotos da Apple",
"{n} photos opened for editing; each is stacked with its original": "{n} fotos abertas para edição; cada uma está empilhada com a original",
+ "{name} opened in the other editor": "{name} aberto no outro editor",
+ "{n} originals opened in the other editor": "{n} originais abertos no outro editor",
- "· {in_source} identical copies": "· {in_source} cópias idênticas"
++ "· {in_source} identical copies": "· {in_source} cópias idênticas",
+ "Applied {name}": "{name} aplicado",
+ "Delete “{name}”?": "Excluir “{name}”?",
+ "Updated {name}": "{name} atualizado",
+ "Exported to {path}": "Exportado para {path}",
+ "Saved template {name}": "Modelo {name} salvo",
+ "Imported {name}": "{name} importado",
+ "Skipped {problem}": "Ignorado: {problem}",
+ "…and {more} more": "…e mais {more}",
+ "Template preview: {name}": "Prévia do modelo: {name}"
}
diff --cc crates/ui-egui/locales/ru-formats.json
index e814d8246,38e28e356..d269d3dd6
--- a/crates/ui-egui/locales/ru-formats.json
+++ b/crates/ui-egui/locales/ru-formats.json
@@@ -245,13 -245,7 +245,16 @@@
"{n} added to Apple Photos album “{album}”": "Добавлено в альбом «{album}» Apple Фото: {n}",
"{n} added to Apple Photos": "Добавлено в Apple Фото: {n}",
"{n} photos opened for editing; each is stacked with its original": "Открыто для редактирования фото: {n}; каждое объединено в стопку с оригиналом",
+ "{name} opened in the other editor": "{name} открыт в другом редакторе",
+ "{n} originals opened in the other editor": "Открыто оригиналов в другом редакторе: {n}",
- "· {in_source} identical copies": "· идентичных копий: {in_source}"
++ "· {in_source} identical copies": "· идентичных копий: {in_source}",
+ "Applied {name}": "Применено: {name}",
+ "Delete “{name}”?": "Удалить «{name}»?",
+ "Updated {name}": "Обновлено: {name}",
+ "Exported to {path}": "Экспортировано в {path}",
+ "Saved template {name}": "Шаблон {name} сохранён",
+ "Imported {name}": "Импортировано: {name}",
+ "Skipped {problem}": "Пропущено: {problem}",
+ "…and {more} more": "…и ещё {more}",
+ "Template preview: {name}": "Просмотр шаблона: {name}"
}
diff --cc crates/ui-egui/locales/uk-formats.json
index c5c1446e0,55636422f..432b34cfd
--- a/crates/ui-egui/locales/uk-formats.json
+++ b/crates/ui-egui/locales/uk-formats.json
@@@ -245,13 -245,7 +245,16 @@@
"{n} added to Apple Photos album “{album}”": "Додано до альбому Apple Фото «{album}»: {n}",
"{n} added to Apple Photos": "Додано до Apple Фото: {n}",
"{n} photos opened for editing; each is stacked with its original": "Відкрито для редагування фото: {n}; кожне об’єднано в стос з оригіналом",
+ "{name} opened in the other editor": "{name} відкрито в іншому редакторі",
+ "{n} originals opened in the other editor": "Відкрито оригіналів в іншому редакторі: {n}",
- "· {in_source} identical copies": "· ідентичних копій: {in_source}"
++ "· {in_source} identical copies": "· ідентичних копій: {in_source}",
+ "Applied {name}": "Застосовано: {name}",
+ "Delete “{name}”?": "Видалити «{name}»?",
+ "Updated {name}": "Оновлено: {name}",
+ "Exported to {path}": "Експортовано до {path}",
+ "Saved template {name}": "Шаблон {name} збережено",
+ "Imported {name}": "Імпортовано: {name}",
+ "Skipped {problem}": "Пропущено: {problem}",
+ "…and {more} more": "…і ще {more}",
+ "Template preview: {name}": "Перегляд шаблону: {name}"
}
diff --cc crates/ui-egui/locales/zh-hans-formats.json
index f69f17377,782f8d731..c6a2ba577
--- a/crates/ui-egui/locales/zh-hans-formats.json
+++ b/crates/ui-egui/locales/zh-hans-formats.json
@@@ -245,13 -245,7 +245,16 @@@
"{n} added to Apple Photos album “{album}”": "已将 {n} 个添加到 Apple 照片相册“{album}”",
"{n} added to Apple Photos": "已将 {n} 个添加到 Apple 照片",
"{n} photos opened for editing; each is stacked with its original": "已打开 {n} 张照片进行编辑;每张都与其原片堆叠在一起",
+ "{name} opened in the other editor": "已在其他编辑器中打开 {name}",
+ "{n} originals opened in the other editor": "已在其他编辑器中打开 {n} 个原始文件",
- "· {in_source} identical copies": "· {in_source} 个相同副本"
++ "· {in_source} identical copies": "· {in_source} 个相同副本",
+ "Applied {name}": "已应用 {name}",
+ "Delete “{name}”?": "删除“{name}”?",
+ "Updated {name}": "已更新 {name}",
+ "Exported to {path}": "已导出到 {path}",
+ "Saved template {name}": "已保存模板 {name}",
+ "Imported {name}": "已导入 {name}",
+ "Skipped {problem}": "已跳过:{problem}",
+ "…and {more} more": "…还有 {more} 个",
+ "Template preview: {name}": "模板预览:{name}"
}
diff --cc crates/ui-egui/locales/zh-hant-formats.json
index 388c7a2b3,56db559c6..8953e3238
--- a/crates/ui-egui/locales/zh-hant-formats.json
+++ b/crates/ui-egui/locales/zh-hant-formats.json
@@@ -245,13 -245,7 +245,16 @@@
"{n} added to Apple Photos album “{album}”": "已將 {n} 個加入 Apple 照片相簿「{album}」",
"{n} added to Apple Photos": "已將 {n} 個加入 Apple 照片",
"{n} photos opened for editing; each is stacked with its original": "已開啟 {n} 張相片進行編輯;每張都與其原始相片堆疊在一起",
+ "{name} opened in the other editor": "已在其他編輯器中開啟 {name}",
+ "{n} originals opened in the other editor": "已在其他編輯器中開啟 {n} 個原始檔案",
- "· {in_source} identical copies": "· {in_source} 個相同副本"
++ "· {in_source} identical copies": "· {in_source} 個相同副本",
+ "Applied {name}": "已套用 {name}",
+ "Delete “{name}”?": "刪除「{name}」?",
+ "Updated {name}": "已更新 {name}",
+ "Exported to {path}": "已匯出到 {path}",
+ "Saved template {name}": "已儲存範本 {name}",
+ "Imported {name}": "已匯入 {name}",
+ "Skipped {problem}": "已略過:{problem}",
+ "…and {more} more": "…還有 {more} 個",
+ "Template preview: {name}": "範本預覽:{name}"
}
diff --cc docs/parity-checklist.md
index 362387aa2,29995530b..f26954ec4
--- a/docs/parity-checklist.md
+++ b/docs/parity-checklist.md
@@@ -52,10 -52,10 +52,10 @@@ cited here still exists. Formerly docs/
| X. Cross-cutting behaviours (BEHAV) | 23 | 6 | 1 | 1 | 8/8 (100%) | 7/10 (70%) |
| Y. Menus | 84 | 0 | 4 | 8 | 47/47 (100%) | 23/23 (100%) |
| Z. Keyboard shortcuts (desktop) | 76 | 3 | 3 | 1 | 49/52 (94%) | 23/24 (96%) |
-| Lightroom Classic extras | 36 | 20 | 29 | 8 | — | 24/26 (92%) |
-| **Total** | 411 | 56 | 66 | 35 | 193/201 (96%) | 146/158 (92%) |
+| Lightroom Classic extras | 36 | 21 | 28 | 8 | — | 24/26 (92%) |
- | **Total** | 410 | 56 | 65 | 35 | 193/201 (96%) | 145/157 (92%) |
++| **Total** | 411 | 57 | 65 | 35 | 193/201 (96%) | 146/158 (92%) |
- Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **82.5%** of 531 in-scope rows — P0 98.0% of 201 · P1 95.2% of 157 · P2 52.6% of 172.
-Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **82.4%** of 533 in-scope rows — P0 98.0% of 201 · P1 95.3% of 158 · P2 52.3% of 173.
++Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **82.5%** of 533 in-scope rows — P0 98.0% of 201 · P1 95.3% of 158 · P2 52.6% of 173.
<!-- /parity:summary -->
## Top gaps and shortcut notes
diff --cc docs/whats-new.md
index 197184d9d,609b3eee7..f67d3c3d5
--- a/docs/whats-new.md
+++ b/docs/whats-new.md
@@@ -45,26 -150,24 +150,43 @@@
- Upgrading from a Windows installer older than 0.6 (such as 0.5.0) keeps LightCraft in the folder it was installed
in, instead of moving it back to Program Files (issue #399). If that folder has been deleted since, the upgrade
installs to Program Files.
+ - A photo that runs into a bug in LightCraft while it renders (in a raw decoder or the editing pipeline) now fails
+ like a photo that can't be opened, with the reason, instead of rendering forever; its thumbnail stops waiting too.
+ Each such bug used to take one of the render threads with it, so after a few of them no photo rendered until
+ LightCraft was restarted. The bug is still written to the log (Help ▸ Open Log Folder) for a report.
+
+ ### Library sorting
+ - Photos that tie on the sort key (equal ratings, one import batch, a burst shot within the same second) now sort by
+ file name, then id, instead of import order. Recently Added keeps a batch in file name order, and Auto-Stack orders a
+ burst by file name, so the first file is the cover.
+
+ ### Large preset collections
+ - A library holding thousands of presets (a Lightroom collection imported whole: 11 000 presets, a 42 MB
+ presets.json) stays responsive. Every command used to re-serialize the whole list to see whether it had changed
+ (~0.6 s per slider tick); now the list is saved only after it changes, and a slider tick takes ~2 ms.
+ - The Presets panel builds only the rows in view (and their thumbnails) instead of every preset on every frame; the
+ preset pickers in Import and Settings ▸ Import scroll the same way.
+ - Importing a large collection and opening its library no longer compare every preset with every other.
+### Slideshow templates
+- Settings ▸ Slideshow now opens with a template browser, like Lightroom Classic's Template Browser. A template holds
+ everything about how a slideshow looks and plays: the playback timing and fades, the layout, options and backdrop,
+ the overlays and the intro and ending screens. Click one to apply it; point at one to see it on the selected photo in
+ the preview beside it without changing anything.
+- Five built-in templates of our own: Plain Black (the photo on black), Gallery Wall (a light wall, a white mat and a
+ soft shadow, with the caption and rating under the photo), Edge to Edge (photos cropped to fill the screen), Cinema
+ Wide (16:9 with black bars, the title in the corner, fades through black and a closing card) and Shooting Data (the
+ exposure, ISO, focal length, camera and lens under each photo on a dark backdrop).
+- Save the current settings as a template of your own; right-click it to update it with the current settings, rename,
+ export or delete it, and import templates others share with you. Your templates are `.json` files in the settings
+ folder's `slideshow-templates` folder, shared by all your libraries.
+- Applying a template can't be undone with Edit ▸ Undo (slideshow settings are library preferences), so the settings it
+ replaced are listed as "Previous settings" until you quit: click that to go back.
+- A template file that can't be used (damaged, from a newer LightCraft, too large) is listed as skipped instead of
+ stopping the others, and a template whose identity plate image or background photo isn't there still applies, with a
+ note saying what is missing. Agents use `slideshow.templates.*`, and `slideshow.preview {template}` renders a template
+ without applying it.
+
### Slideshow intro and ending screens
- A slideshow can now open with an intro screen and close with an ending screen, like Lightroom Classic's Titles
panel. Each is switched on on its own and has a background colour and, centred on it, your identity plate (the one