Merge pull request #2043 from nledford/smart-duplicates-rule

LRC-LIB-SMARTCOLL: a Same Content as Another Photo rule finds photos whose file is in the library twice
This commit is contained in:
FredApps authored and GitHub committed 2026-11-26 14:35:41 +01:00
commit b70f4680e4
24 files changed
+294 -17

No files matched your search

+94 -3
View File
@@ -1,6 +1,7 @@
//! Lookups derived from the catalog's own data, so questions asked once per photo of a big library
//! don't scan a list each time: which stack a photo is in, whether a regular album holds it, which
//! photos have their file in a folder, which have a file of a given name.
//! photos have their file in a folder, which have a file of a given name, which photos have the same
//! content.
//!
//! They are never saved (the on-disk format is unchanged). Each is built on first use from what
//! the catalog holds, so a catalog read from a snapshot, replayed from the journal or cloned starts
@@ -8,12 +9,15 @@
//! date: the ops that change stacks or album photos (`AddStack`, `RemoveStack`, `SetStack`,
//! `AddAlbum`, `RemoveAlbum`, `SetAlbumPhotos`) and those that add, remove or point a photo at
//! another file (`AddPhoto`, `RemovePhoto`, `Relink`, `SetFile`) update them as they apply,
//! inverses and the rollback of a failed batch included, as those are ops too.
//! inverses and the rollback of a failed batch included, as those are ops too. The contents index
//! is kept up to date, and the photos with a photo's content touched, by the ops that change a
//! photo's content as the library sees it, once a rule has built it or while a smart album asks
//! about contents ([`Catalog::follows_contents`], [`Catalog::content_moved`]).
use std::collections::{HashMap, HashSet};
use std::sync::OnceLock;
use crate::{AlbumId, Catalog, PhotoId, Source, StackId};
use crate::{AlbumId, Catalog, Photo, PhotoId, Source, StackId};
#[derive(Default)]
pub(crate) struct Indexes {
@@ -22,6 +26,10 @@ pub(crate) struct Indexes {
stacks: OnceLock<Option<HashMap<PhotoId, StackId>>>,
/// Album → its photos (regular albums; a smart album's list is empty).
albums: OnceLock<HashMap<AlbumId, HashSet<PhotoId>>>,
/// Content ([`content_key`]) → the photos that have it.
contents: OnceLock<HashMap<String, Vec<PhotoId>>>,
/// Whether a smart album asks whether a photo has the same content as another ([`Catalog::follows_contents`]).
contents_asked: OnceLock<bool>,
/// Folder (its [`photo_folder_index_key`], lower-cased) → the photos whose file is directly in
/// it, whatever their state (in the library, in Recently Deleted, browsed in Local). Demo
/// photos have none.
@@ -85,6 +93,27 @@ impl Indexes {
}
}
/// Photo `id` had content `old` and has `new` now (`None`: none the library counts).
fn content_changed(&mut self, id: PhotoId, old: Option<&str>, new: Option<String>) {
let Some(m) = self.contents.get_mut() else { return };
if let Some(old) = old
&& let Some(ids) = m.get_mut(old)
{
ids.retain(|p| *p != id);
if ids.is_empty() {
m.remove(old);
}
}
if let Some(new) = new {
m.entry(new).or_default().push(id);
}
}
/// An album came, went or got other rules: whether a smart album asks about contents is asked again.
pub(crate) fn albums_changed(&mut self) {
self.contents_asked = OnceLock::new();
}
/// Photo `id`'s file was at `old` and is at `new` now (`None`: no file, or the photo was added
/// or is gone).
pub(crate) fn file_changed(&mut self, id: PhotoId, old: Option<&str>, new: Option<&str>) {
@@ -166,6 +195,16 @@ fn sorted(set: Option<&HashSet<PhotoId>>) -> Vec<PhotoId> {
v
}
/// The content photo `p` stands for in the library: its file's hash, without the `:dup<id>` a Duplicate's carries.
/// `None` for a photo with no hash, a virtual copy (the same photo as its master, not another one), a photo in
/// Recently Deleted and one only browsed in Local.
pub(crate) fn content_key(p: &Photo) -> Option<&str> {
if p.copy_of.is_some() || p.deleted || p.local {
return None;
}
p.content_hash.as_deref().map(|h| h.split(':').next().unwrap_or(h)).filter(|h| !h.is_empty())
}
impl Catalog {
/// The stack photo `photo` is in, by the index (built on first use).
pub(crate) fn stack_id_of(&self, photo: PhotoId) -> Option<StackId> {
@@ -193,6 +232,58 @@ impl Catalog {
m.get(&album).is_some_and(|s| s.contains(&photo))
}
/// Content → its photos, by the index (built on first use).
fn contents(&self) -> &HashMap<String, Vec<PhotoId>> {
self.index.contents.get_or_init(|| {
let mut m: HashMap<String, Vec<PhotoId>> = HashMap::with_capacity(self.photos.len());
for p in self.photos.values() {
if let Some(k) = content_key(p) {
m.entry(k.to_string()).or_default().push(p.id);
}
}
m
})
}
/// Whether another photo of the library has the same content as `p` ([`content_key`]).
pub fn has_same_content(&self, p: &Photo) -> bool {
content_key(p).is_some_and(|k| self.contents().get(k).is_some_and(|ids| ids.iter().any(|id| *id != p.id)))
}
/// Whether ops have to follow photos' contents ([`Catalog::content_moved`]): the index was built (a rule
/// asked), or a smart album asks (whose count may be followed from a copy of the catalog that built its own).
/// Else nothing has asked, and a library that never does carries no index.
pub(crate) fn follows_contents(&self) -> bool {
self.index.contents.get().is_some()
|| *self.index.contents_asked.get_or_init(|| {
self.albums.values().any(|a| a.smart.as_ref().and_then(|f| f.rule_set.as_ref()).is_some_and(|r| r.reads("sameContent")))
})
}
/// The content photo `id` stands for now ([`content_key`]).
pub(crate) fn content_of(&self, id: PhotoId) -> Option<String> {
self.photos.get(&id).and_then(|p| content_key(p)).map(str::to_string)
}
/// The op just applied took photo `id` from content `old` to `new` ([`Catalog::follows_contents`]): the index
/// follows, and the photos with either content are touched too ([`Catalog::touched_since`]), as whether they
/// have the same content as another photo may have changed with it.
pub(crate) fn content_moved(&mut self, id: PhotoId, old: Option<String>, new: Option<String>) {
if old == new {
return;
}
let built = self.index.contents.get().is_some();
// (built now if it wasn't: from the catalog as it is, this op included, which holds the same other photos)
let twins: Vec<PhotoId> =
[&old, &new].into_iter().flatten().filter_map(|k| self.contents().get(k.as_str())).flatten().copied().filter(|p| *p != id).collect();
if built {
self.index.content_changed(id, old.as_deref(), new);
}
for p in twins {
self.touch(p);
}
}
fn file_index(&self, which: &str, key: fn(&str) -> Option<String>) -> HashMap<String, HashSet<PhotoId>> {
let t = web_time::Instant::now();
let mut m: HashMap<String, HashSet<PhotoId>> = HashMap::new();
+23
View File
@@ -838,6 +838,29 @@ impl Catalog {
}
fn apply_inner(&mut self, op: Op) -> Result<Op> {
// a photo that comes, goes, is deleted or restored, is imported from Local or gets other content can change
// whether the photos with its content have the same content as another one (`index::content_key`), when
// anything asks
let photo = match &op {
Op::AddPhoto { photo } => Some(photo.id),
Op::RemovePhoto { id } | Op::SetDeleted { id, .. } | Op::SetLocal { id, .. } | Op::SetContent { id, .. } => Some(*id),
_ => None,
}
.filter(|_| self.follows_contents());
let albums = matches!(op, Op::AddAlbum { .. } | Op::RemoveAlbum { .. } | Op::SetAlbumRules { .. });
let before = photo.and_then(|id| self.content_of(id));
let inv = self.apply_op(op)?;
if let Some(id) = photo {
let after = self.content_of(id);
self.content_moved(id, before, after);
}
if albums {
self.index.albums_changed();
}
Ok(inv)
}
fn apply_op(&mut self, op: Op) -> Result<Op> {
// An op that changes one photo says which (`photo_mut`, and adding or removing it below). Most other kinds
// can change what any photo matches or where it sorts: an album's photos or rules, a stack. The keyword
// list changes only lists of keywords. Listed kind by kind, so a new one has to be put on one side.
+11 -1
View File
@@ -78,6 +78,7 @@ pub const FIELDS: &[(&str, &str, Kind)] = &[
("kind", "File Type", Kind::Choice(&[("image", "Image"), ("raw", "Raw"), ("video", "Video")])),
("format", "File Format", Kind::Text),
("duration", "Video Duration", Kind::Number),
("sameContent", "Same Content as Another Photo", Kind::Bool),
// Date
("captureDate", "Capture Date", Kind::Date),
("importDate", "Import Date", Kind::Date),
@@ -135,7 +136,7 @@ pub const TOP_LEVEL_FIELDS: &[&str] = &["rating", "flag", "label", "text"];
/// once or in [`TOP_LEVEL_FIELDS`].
pub const FIELD_GROUPS: &[(&str, &[&str])] = &[
("Source", &["album", "virtualCopy", "copyName", "stacked"]),
("File", &["fileName", "extension", "filePath", "kind", "format", "duration"]),
("File", &["fileName", "extension", "filePath", "kind", "format", "duration", "sameContent"]),
("Date", &["captureDate", "importDate", "editDate"]),
("Keywords & People", &["keywords", "keywordCount", "person", "personCount"]),
("Description", &["title", "caption", "altText", "creator", "copyright", "copyrightStatus"]),
@@ -1049,6 +1050,7 @@ impl Rule {
"virtualCopy" => yes(p.copy_of.is_some()),
"copyName" => text(p.copy_name.as_deref().unwrap_or("")),
"stacked" => yes(cat.stack_of(p.id).is_some()),
"sameContent" => yes(cat.has_same_content(p)),
"cropped" => yes(p.is_cropped()),
"treatment" => {
let t = if p.develop.treatment == lightcraft_develop::Treatment::Bw { "monochrome" } else { "color" };
@@ -1209,6 +1211,14 @@ impl RuleSet {
})
}
/// Whether a rule (nested groups included) tests `field`.
pub fn reads(&self, field: &str) -> bool {
self.rules.iter().any(|r| match r {
Rule::Group { group } => group.reads(field),
Rule::Field { field: f, .. } => f == field,
})
}
/// Bring rules saved by older versions up to date, keeping what they meant: an Album rule with
/// an operator from when Album was a number field (≥, between…) always matched as "isn't", and
/// now says so. Commands and the editor apply it before checking.
+77 -1
View File
@@ -215,6 +215,82 @@ fn file_source_description_and_location_rules() {
assert!(m(&p, "location", "contains", json!("portugal")), "Location still covers the country");
}
/// Same Content as Another Photo: another photo of the library has the same file content, under another name
/// or in another folder (a Duplicate's `:dup` key included).
/// * A virtual copy is the same photo, not another one: it never matches and never makes a match.
/// * Neither does a photo in Recently Deleted or one only browsed in Local, nor a photo with no content hash.
/// * It follows the library: a twin deleted, restored, removed or given other content changes the others.
#[test]
fn same_content_as_another_photo() {
use crate::Op;
let mut cat = Catalog::new();
let with = |id: u64, hash: Option<&str>| {
let mut p = photo(id);
p.content_hash = hash.map(str::to_string);
p
};
let mut v = with(5, Some("cc"));
v.copy_of = Some(PhotoId(4));
let mut local = with(7, Some("dd"));
local.local = true;
for p in [with(1, Some("aa")), with(2, Some("aa:dup2")), with(3, None), with(4, Some("cc")), v, with(6, Some("dd")), local, with(8, None)] {
cat.apply(Op::AddPhoto { photo: Box::new(p) }).unwrap();
}
let same = |cat: &Catalog| -> Vec<u64> {
let r = rs(json!({"rules": [{"field": "sameContent", "op": "is", "value": true}]}));
let not = rs(json!({"rules": [{"field": "sameContent", "op": "is", "value": false}]}));
let mut ids: Vec<u64> = cat.photos().filter(|p| r.matches(p, cat)).map(|p| p.id.0).collect();
ids.sort_unstable();
assert!(cat.photos().all(|p| r.matches(p, cat) != not.matches(p, cat)), "is no is the opposite");
ids
};
assert_eq!(same(&cat), vec![1, 2], "a Duplicate's key is the same content; a virtual copy and a Local photo don't count");
// the twin goes to Recently Deleted: the other is alone, and counts as touched (album counts and views
// follow an edit through the photos it touched); restored, both again
let before = cat.revision;
cat.apply(Op::SetDeleted { id: PhotoId(2), deleted: true }).unwrap();
assert_eq!(same(&cat), Vec::<u64>::new());
assert_eq!(cat.touched_since(before), Some(vec![PhotoId(1), PhotoId(2)]));
cat.apply(Op::SetDeleted { id: PhotoId(2), deleted: false }).unwrap();
assert_eq!(same(&cat), vec![1, 2]);
// a batch that fails midway is undone as a whole: nothing changed
let bad = Op::Batch { ops: vec![Op::SetDeleted { id: PhotoId(2), deleted: true }, Op::SetRating { id: PhotoId(2), rating: 9 }] };
assert!(cat.apply(bad).is_err());
assert_eq!(same(&cat), vec![1, 2]);
// a copy of the catalog (made to count in the background) knows nothing yet, and while no smart album asks
// its edits follow no contents; once one asks, they touch the twins, so counts made before them can follow
let mut copy = cat.clone();
copy.apply(Op::SetDeleted { id: PhotoId(3), deleted: true }).unwrap();
let mut album = crate::Album::new(crate::AlbumId(1), "Twins");
album.smart = Some(Box::new(crate::Filter {
rule_set: Some(rs(json!({"rules": [{"field": "sameContent", "op": "is", "value": true}]}))),
..Default::default()
}));
copy.apply(Op::AddAlbum { album }).unwrap();
let before = copy.revision;
copy.apply(Op::SetDeleted { id: PhotoId(2), deleted: true }).unwrap();
assert_eq!(copy.touched_since(before), Some(vec![PhotoId(1), PhotoId(2)]));
// the Local photo is imported for real
cat.apply(Op::SetLocal { id: PhotoId(7), local: false }).unwrap();
assert_eq!(same(&cat), vec![1, 2, 6, 7]);
// a file's content changed (Reload): it leaves one pair and joins another
let p = cat.photo(PhotoId(1)).unwrap().clone();
let set = |hash: &str| Op::SetContent {
id: PhotoId(1),
width: p.width,
height: p.height,
file_size: p.file_size,
content_hash: Some(hash.into()),
preview_only: None,
preview_checked: String::new(),
};
cat.apply(set("dd")).unwrap();
assert_eq!(same(&cat), vec![1, 6, 7]);
// gone for good
cat.apply(Op::RemovePhoto { id: PhotoId(6) }).unwrap();
assert_eq!(same(&cat), vec![1, 7]);
}
/// In a Stack, Video Duration (seconds; photos have none), Cropped and Treatment.
#[test]
fn source_file_and_develop_rules() {
@@ -663,7 +739,7 @@ fn related_fields_share_a_group() {
assert_eq!(field_group(f), Some(group), "{f}");
}
};
same(&["fileName", "extension", "filePath", "kind", "format", "duration"], "File");
same(&["fileName", "extension", "filePath", "kind", "format", "duration", "sameContent"], "File");
same(&["album", "virtualCopy", "copyName", "stacked"], "Source");
same(&["longEdge", "shortEdge", "aspect", "megapixels"], "Size");
same(&["edited", "cropped", "treatment"], "Develop");
+59 -10
View File
@@ -7,17 +7,26 @@ use serde_json::{Value, json};
use crate::Session;
/// A small generator of numbers that is the same on every run.
struct Dice(u64);
struct Dice {
state: u64,
/// How many photos the edits moved to Local.
to_local: usize,
}
impl Dice {
fn new(seed: u64) -> Self {
Dice { state: seed, to_local: 0 }
}
fn roll(&mut self, sides: usize) -> usize {
self.0 = lightcraft_catalog::mix64(self.0);
(self.0 % sides.max(1) as u64) as usize
self.state = lightcraft_catalog::mix64(self.state);
(self.state % sides.max(1) as u64) as usize
}
}
/// A library of `n` photos in three folders, with ratings, flags, keywords and dates spread over them, an album
/// holding every third photo, a smart album of the photos without keywords, and a stack.
/// holding every third photo, a smart album of the photos without keywords, and a stack. About one photo in four
/// has the content of another (some as a Duplicate's `:dup` key), and a few have no content hash.
fn library(n: usize) -> (Session, Vec<PhotoId>, u64, u64) {
let mut s = Session::new();
let mut ids = Vec::new();
@@ -34,6 +43,11 @@ fn library(n: usize) -> (Session, Vec<PhotoId>, u64, u64) {
&format!("2026-01-{:02}T10:00:00", 1 + i % 9),
);
p.captured = Some(format!("2025-{:02}-{:02}T10:00:{:02}", 1 + i % 12, 1 + i % 28, i % 60));
p.content_hash = match i % 13 {
0 => None,
5 => Some(format!("{:032x}:dup{}", (i * 7) % (n * 4 / 5).max(1), id.0)),
_ => Some(format!("{:032x}", (i * 7) % (n * 4 / 5).max(1))),
};
s.commit("Add", Op::AddPhoto { photo: Box::new(p) }).unwrap();
ids.push(id);
}
@@ -56,8 +70,9 @@ fn library(n: usize) -> (Session, Vec<PhotoId>, u64, u64) {
}
/// One edit at random: most touch a photo or a few (what it is rated, flagged, keyworded, developed; when it was
/// taken; where its file is; whether it is in the library at all), some change an album, a stack or the library's
/// past, and now and then a photo is added or removed for good.
/// taken; where its file is and what is in it; whether it is in the library at all), some change an album, a stack
/// or the library's past, and now and then a photo is added (at times with the content of one the library has) or
/// removed for good.
fn edit(s: &mut Session, dice: &mut Dice, ids: &mut Vec<PhotoId>, album: u64) {
let chosen: Vec<u64> = (0..1 + dice.roll(3)).map(|_| ids[dice.roll(ids.len())].0).collect();
let one = PhotoId(chosen[0]);
@@ -80,6 +95,7 @@ fn edit(s: &mut Session, dice: &mut Dice, ids: &mut Vec<PhotoId>, album: u64) {
let name = format!("NEW_{n:04}.jpg");
let mut p = Photo::new(id, Source::File { path: format!("/pics/{}/{name}", n % 3) }, &name, "JPEG", 60, 40, "2026-02-01T10:00:00");
p.captured = Some(format!("2025-{:02}-11T09:00:00", 1 + n % 12));
p.content_hash = s.catalog.photo(ids[dice.roll(ids.len())]).and_then(|q| q.content_hash.clone()).filter(|_| n.is_multiple_of(8));
if s.commit("Add", Op::AddPhoto { photo: Box::new(p) }).is_ok() {
ids.push(id);
}
@@ -89,8 +105,29 @@ fn edit(s: &mut Session, dice: &mut Dice, ids: &mut Vec<PhotoId>, album: u64) {
let _ = s.commit("Remove", Op::RemovePhoto { id: one });
return;
}
2 if n % 4 == 2 => {
// the file's content changed (Reload): it is now the same as another photo's, or has no hash
let content_hash = s.catalog.photo(ids[dice.roll(ids.len())]).and_then(|q| q.content_hash.clone()).filter(|_| n % 8 == 2);
if let Some(p) = s.catalog.photo(one) {
let op = Op::SetContent {
id: one,
width: p.width,
height: p.height,
file_size: p.file_size,
content_hash,
preview_only: p.preview_only.clone(),
preview_checked: p.preview_checked.clone(),
};
let _ = s.commit("Reload", op);
}
return;
}
2 => {
let _ = s.commit("Local", Op::SetLocal { id: one, local: n.is_multiple_of(2) });
// (n % 4 is 3 here: its quotient decides, or no photo would ever move to Local)
let local = (n / 4).is_multiple_of(2);
if s.commit("Local", Op::SetLocal { id: one, local }).is_ok() && local {
dice.to_local += 1;
}
return;
}
_ => {}
@@ -133,7 +170,7 @@ fn relative_clock_session(captures: &[&str]) -> (Session, std::sync::Arc<std::sy
#[test]
fn following_an_edit_gives_the_list_worked_out_from_every_photo() {
let (mut s, mut ids, album, smart) = library(240);
let mut dice = Dice(7);
let mut dice = Dice::new(7);
let sources = [
json!({"kind": "all"}),
json!({"kind": "picks"}),
@@ -150,7 +187,13 @@ fn following_an_edit_gives_the_list_worked_out_from_every_photo() {
json!({"key": "editDate", "ascending": false}),
json!({"key": "importDate", "ascending": true}),
];
let filters = [json!({"rating": 0, "text": ""}), json!({"rating": 3, "text": ""}), json!({"rating": 0, "text": "travel"})];
let same_content = json!({"match": "all", "rules": [{"field": "sameContent", "op": "is", "value": true}]});
let filters = [
json!({"rating": 0, "text": ""}),
json!({"rating": 3, "text": ""}),
json!({"rating": 0, "text": "travel"}),
json!({"rating": 0, "text": "", "ruleSet": same_content}),
];
let mut checked = 0;
for (i, source) in sources.iter().enumerate() {
for (j, sort) in sorts.iter().enumerate() {
@@ -176,6 +219,8 @@ fn following_an_edit_gives_the_list_worked_out_from_every_photo() {
// and it was following that was checked: most edits touch a photo or two, and the view kept up with those
// without asking every photo again
assert!(s.view_followed > 400, "followed {} times, worked out {} times", s.view_followed, s.view_worked_out);
// (and the edits did move photos to Local, a case of its own for what the view keeps)
assert!(dice.to_local > 0, "no photo moved to Local");
}
#[test]
@@ -403,6 +448,9 @@ fn the_albums_counts_followed_through_edits_are_the_counts_made_from_every_photo
json!({"edited": true}),
json!({"dateFrom": "2025-06-01"}),
json!({"text": "REN"}),
// whether another photo has the same content: an edit to one photo changes it for others
json!({"ruleSet": {"match": "all", "rules": [{"field": "sameContent", "op": "is", "value": true}]}}),
json!({"ruleSet": {"match": "all", "rules": [{"field": "sameContent", "op": "is", "value": false}]}}),
] {
let made = s.execute("album.createSmart", &json!({"name": "More", "rules": rules}));
assert!(made.is_ok(), "{rules}: {made:?}");
@@ -420,7 +468,7 @@ fn the_albums_counts_followed_through_edits_are_the_counts_made_from_every_photo
};
let mut tally = AlbumTally::of(&s.catalog);
assert_eq!(shown(&tally), fresh(&s));
let mut dice = Dice(23);
let mut dice = Dice::new(23);
let (mut followed, mut whole) = (0, 0);
for step in 0..900 {
edit(&mut s, &mut dice, &mut ids, album);
@@ -441,6 +489,7 @@ fn the_albums_counts_followed_through_edits_are_the_counts_made_from_every_photo
assert_eq!(shown(&tally), fresh(&s), "after edit {step}");
}
assert!(followed > 300 && whole > 20, "followed {followed} times, counted whole {whole} times");
assert!(dice.to_local > 0, "no photo moved to Local");
// a photo deleted: the album of chosen photos it is in counts one less, without every photo being asked
let in_album = s
.catalog
+1
View File
@@ -2516,6 +2516,7 @@
"Next": "Další",
"Get Started": "Začít",
"Stopped at the scan limit: there may be more photos": "Zastaveno na limitu skenování: je možné, že existují další fotografie",
"Same Content as Another Photo": "Stejný obsah jako jiná fotografie",
"Reduce Motion": "Omezit pohyb",
"Reduce motion": "Omezit pohyb",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "Vypne animace přiblížení a načítacích indikátorů. Prolínání zůstává. Dokud to zde nezměníte, řídí se nastavením Omezit pohyb v systému.",
+1
View File
@@ -3574,6 +3574,7 @@
"Welcome": "Willkommen",
"Next": "Weiter",
"Get Started": "Loslegen",
"Same Content as Another Photo": "Gleicher Inhalt wie ein anderes Foto",
"Reduce Motion": "Bewegung reduzieren",
"Reduce motion": "Bewegung reduzieren",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "Schaltet Zoom- und Ladeanimationen ab. Überblendungen bleiben erhalten. Folgt der Systemeinstellung „Bewegung reduzieren“, bis Sie sie hier ändern.",
+1
View File
@@ -2470,6 +2470,7 @@
"Welcome": "Bienvenido",
"Next": "Siguiente",
"Get Started": "Empezar",
"Same Content as Another Photo": "Mismo contenido que otra foto",
"Reduce Motion": "Reducir movimiento",
"Reduce motion": "Reducir movimiento",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "Desactiva las animaciones del zoom y de los indicadores de actividad. Los fundidos se mantienen. Sigue el ajuste Reducir movimiento del sistema hasta que lo cambies aquí.",
+1
View File
@@ -2426,6 +2426,7 @@
"Folder name": "Kansion nimi",
"Its templates move to User Templates.": "Sen mallipohjat siirretään kansioon Käyttäjän mallipohjat.",
"Stopped at the scan limit: there may be more photos": "Skannauksen raja saavutettiin: valokuvia voi olla lisää",
"Same Content as Another Photo": "Sama sisältö kuin toisella kuvalla",
"Reduce Motion": "Vähennä liikettä",
"Reduce motion": "Vähennä liikettä",
"Turns off zoom and spinner animations. Fades stay.": "Poistaa zoomaus- ja pyörivät animaatiot käytöstä. Häivytykset säilyvät.",
+1
View File
@@ -3653,6 +3653,7 @@
"Welcome": "Bienvenue",
"Next": "Suivant",
"Get Started": "Commencer",
"Same Content as Another Photo": "Même contenu qu'une autre photo",
"Reduce Motion": "Réduire les animations",
"Reduce motion": "Réduire les animations",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "Désactive les animations du zoom et des indicateurs d’activité. Les fondus restent. Suit le réglage Réduire les animations du système tant que vous ne le changez pas ici.",
+1
View File
@@ -2440,6 +2440,7 @@
"Folder name": "Nama folder",
"Its templates move to User Templates.": "Templatnya dipindahkan ke Templat pengguna.",
"Stopped at the scan limit: there may be more photos": "Berhenti pada batas pemindaian: mungkin masih ada foto",
"Same Content as Another Photo": "Konten sama dengan foto lain",
"Reduce Motion": "Kurangi gerakan",
"Reduce motion": "Kurangi gerakan",
"Turns off zoom and spinner animations. Fades stay.": "Menonaktifkan animasi zoom dan indikator putar. Efek memudar tetap ada.",
+1
View File
@@ -2634,6 +2634,7 @@
"Next": "Avanti",
"Get Started": "Inizia",
"Stopped at the scan limit: there may be more photos": "Fermati al limite di scansione: potrebbero esserci altre foto",
"Same Content as Another Photo": "Stesso contenuto di un'altra foto",
"Reduce Motion": "Riduci movimento",
"Reduce motion": "Riduci movimento",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "Disattiva le animazioni dello zoom e degli indicatori di attività. Le dissolvenze restano. Segue l’impostazione Riduci movimento del sistema finché non la cambi qui.",
+1
View File
@@ -2468,6 +2468,7 @@
"Welcome": "ようこそ",
"Next": "次へ",
"Get Started": "始める",
"Same Content as Another Photo": "他の写真と同じ内容",
"Reduce Motion": "動きを減らす",
"Reduce motion": "動きを減らす",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "ズームとスピナーのアニメーションをオフにします。フェードはそのまま残ります。ここで変更するまで、システムの「視差効果を減らす」設定に従います。",
+3 -1
View File
@@ -1599,7 +1599,8 @@
"Set Keyword Shortcut…": "საკვანძო სიტყვების მალსახმობის დაყენება…",
"Add or Remove Keyword Shortcut": "საკვანძო სიტყვების მალსახმობის დამატება ან მოხსნა",
"Keyword Shortcut": "საკვანძო სიტყვების მალსახმობი",
"Part of the keyword shortcut": "საკვანძო სიტყვების მალსახმობის ნაწილი", "Put agents to work": "აგენტების სამუშაოზე დაყენება",
"Part of the keyword shortcut": "საკვანძო სიტყვების მალსახმობის ნაწილი",
"Put agents to work": "აგენტების სამუშაოზე დაყენება",
"Put the locations you removed from Local back (no files change)": "ლოკალურიდან მოშორებული მდებარეობების დაბრუნება (ფაილები არ იცვლება)",
"Quality": "ხარისხი",
"Query Photos": "ფოტოების მოთხოვნა",
@@ -3736,6 +3737,7 @@
"Folder name": "საქაღალდის სახელი",
"Its templates move to User Templates.": "მისი შაბლონები გადავა „მომხმარებლის შაბლონებში“.",
"Stopped at the scan limit: there may be more photos": "სკანირების ლიმიტზე გაჩერდა: შესაძლოა სხვა ფოტოებიც არის",
"Same Content as Another Photo": "იგივე შიგთავსი, რაც სხვა ფოტოს",
"Reduce Motion": "მოძრაობის შემცირება",
"Reduce motion": "მოძრაობის შემცირება",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "გამორთავს მასშტაბირებისა და მიმდინარეობის ინდიკატორის ანიმაციებს. გაბუნდოვნება შენარჩუნდება. სანამ აქ არ შეცვლით, სისტემის „მოძრაობის შემცირების“ პარამეტრს მისდევს.",
+1
View File
@@ -2395,6 +2395,7 @@
"Next": "Dalej",
"Get Started": "Zaczynamy",
"Stopped at the scan limit: there may be more photos": "Zatrzymano na limicie skanowania: możliwe, że jest więcej zdjęć",
"Same Content as Another Photo": "Ta sama zawartość co inne zdjęcie",
"Reduce Motion": "Ogranicz ruch",
"Reduce motion": "Ogranicz ruch",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "Wyłącza animacje powiększania i wskaźników pracy. Zanikanie i przenikanie zostają. Dopóki nie zmienisz tego tutaj, program stosuje systemowe ustawienie Ogranicz ruch.",
+1
View File
@@ -2314,6 +2314,7 @@
"Welcome": "Bem-vindo",
"Next": "Próximo",
"Get Started": "Começar",
"Same Content as Another Photo": "Mesmo conteúdo que outra foto",
"Reduce Motion": "Reduzir movimento",
"Reduce motion": "Reduzir movimento",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "Desativa as animações de zoom e dos indicadores de atividade. As transições de opacidade continuam. Segue o ajuste Reduzir movimento do sistema até você alterá-lo aqui.",
+1
View File
@@ -2676,6 +2676,7 @@
"Welcome": "Добро пожаловать",
"Next": "Далее",
"Get Started": "Начать",
"Same Content as Another Photo": "То же содержимое, что у другого фото",
"Reduce Motion": "Уменьшить движение",
"Reduce motion": "Уменьшить движение",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "Отключает анимацию масштабирования и индикаторов работы. Плавные затухания остаются. Пока вы не измените это здесь, действует системная настройка «Уменьшение движения».",
+1
View File
@@ -2530,6 +2530,7 @@
"Folder name": "Mappnamn",
"Its templates move to User Templates.": "Dess mallar flyttas till Användarmallar.",
"Stopped at the scan limit: there may be more photos": "Stoppade vid skanningsgränsen: det kan finnas fler foton",
"Same Content as Another Photo": "Samma innehåll som ett annat foto",
"Reduce Motion": "Minska rörelse",
"Reduce motion": "Minska rörelse",
"Turns off zoom and spinner animations. Fades stay.": "Stänger av zoom- och snurranimationer. Toningar finns kvar.",
+1
View File
@@ -2466,6 +2466,7 @@
"Welcome": "Ласкаво просимо",
"Next": "Далі",
"Get Started": "Почати",
"Same Content as Another Photo": "Той самий вміст, що й в іншого фото",
"Reduce Motion": "Зменшити рух",
"Reduce motion": "Зменшити рух",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "Вимикає анімацію масштабування та індикаторів роботи. Плавні згасання залишаються. Доки ви не зміните це тут, діє системне налаштування «Зменшити рух».",
+1
View File
@@ -2754,6 +2754,7 @@
"Folder name": "Tên thư mục",
"Its templates move to User Templates.": "Các mẫu trong đó sẽ được chuyển vào Mẫu người dùng.",
"Stopped at the scan limit: there may be more photos": "Đã dừng ở giới hạn quét: có thể còn ảnh khác",
"Same Content as Another Photo": "Cùng nội dung với ảnh khác",
"Reduce Motion": "Giảm chuyển động",
"Reduce motion": "Giảm chuyển động",
"Turns off zoom and spinner animations. Fades stay.": "Tắt hiệu ứng phóng to và biểu tượng xoay. Hiệu ứng mờ dần vẫn được giữ nguyên.",
+1
View File
@@ -2469,6 +2469,7 @@
"Welcome": "欢迎",
"Next": "下一步",
"Get Started": "开始使用",
"Same Content as Another Photo": "与另一张照片内容相同",
"Reduce Motion": "减少动态效果",
"Reduce motion": "减少动态效果",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "关闭缩放和旋转指示器的动画。淡入淡出效果保留。在你于此处更改之前,跟随系统的“减弱动态效果”设置。",
+1
View File
@@ -2470,6 +2470,7 @@
"Welcome": "歡迎",
"Next": "下一步",
"Get Started": "開始使用",
"Same Content as Another Photo": "與另一張照片內容相同",
"Reduce Motion": "減少動態效果",
"Reduce motion": "減少動態效果",
"Turns off zoom and spinner animations. Fades stay. Follows the system's Reduce Motion until you change it here.": "關閉縮放與旋轉指示器的動畫。淡入淡出效果保留。在你於此處更改之前,跟隨系統的「減少動態效果」設定。",
+2 -1
View File
@@ -712,7 +712,7 @@ From `08-lightroom-classic-extras.md` (Classic-only features) and part 2 of `06-
| LRC-LIB-FOLDERS | Disk folder tree | P1 | ✅ | `cmd:library.browse`, `cmd:folder.rename`, `cmd:folder.move`, `crates/ui-egui/src/panels/left.rs` (`local_section`, `folder_tree`), `crates/ui-egui/src/tests/move_folder.rs` | standard places + the browsed folder + Browse Folder…, each an expandable tree of subfolders, breadcrumb navigation; context menu: Rename Folder…, Move Folder To…, Show in Finder (on disk, photos relinked; one undo step each: undo / redo move the folder back and forth, refused when the destination is taken); Move Folder To… (here and in Folders) asks for the destination in a folder dialog that doesn't hold up the window (issue #3140); the rows of the standard places themselves (Pictures, Desktop, Downloads, Home) offer neither Rename Folder… nor Move Folder To…, while the folders inside them and the ones kept with Browse Folder… do, starting from their real name; `folder.rename` and `folder.move` refuse the home folder and its Pictures, Desktop and Downloads for every caller |
| LRC-LIB-LIBFOLDERS | Library folders | P1 | ✅ | `cmd:library.folders`, `cmd:library.source` (`libraryFolder`), `cmd:library.filter` (`libraryFolder`), `cmd:library.removeFolder`, `cmd:folder.rename`, `cmd:folder.move`, `cmd:folder.label`, `cmd:folder.create`, `cmd:photo.moveToFolder`, `cmd:folder.scanChanges`, `cmd:folder.synchronize`, `crates/catalog/src/folders.rs`, `crates/engine/src/sync.rs`, `crates/ui-egui/src/sync.rs`, `crates/ui-egui/src/panels/left.rs` (`folders_section`, `folder_menu_for_library`, `row_menu`), `crates/ui-egui/src/tests/panels.rs` | sidebar Folders: the folders the library's photos were imported from, with photo counts (subfolders included), as another way to explore the library next to By Date and Keywords; Local stays the way to browse any folder on disk. Each disk is a row of its own and starts open: a drive letter, a Windows share (`\\server\share`, `\\?\UNC\…`, `\\wsl$\…`), a macOS share or disk (`/Volumes/tokyo`), a Linux mount (`/media`, `/run/media`, `/mnt`, gvfs `smb-share:…`, `/net/<host>`), NFS (`/Network/Servers/<host>`), else “This Computer” — told apart from the stored paths alone, so an offline share lists like a mounted one and the sidebar never waits on a network. Only folders that hold imported photos are listed (browsed, deleted and demo photos don't count); every folder is a row of its own (`Users` → `me` → `Pictures`), and a folder that holds nothing itself and leads to one folder starts open; every level indents one step more than its parent however deep it goes (16 pt while the deepest open row of any sidebar tree fits the panel with room for its name and count; narrower in bands of 14, 12, 10 and 8 pt when it would not, the same for every tree, chosen from the last frame; issue #2298): past 8 pt the whole sidebar (Albums, Local, By Date, Folders, Keywords) scrolls sideways when its widest row is wider than the panel (rows are measured one frame behind; Create Album and the counts stay at the visible edge, except on a row indented so far that its count (or colour dot) would cover its name: that count follows the name, wholly past the edge); a name that does not fit ends in an ellipsis at the count (the full name on hover; a row asks for room for at most 140 pt of its name, so depth, not one long name, makes the sidebar scroll), as does the grid title; selection and hover bars end at the panel's edge; click makes the folder the source, like an album or a Local folder (its photos and those of the folders inside it fill the grid, titled “photos/travel”; the filter bar narrows it further; `library.source` `libraryFolder` + `path`; kept with the library's view), and its row is always opened into view; the shown folder follows a rename or move and their undo (engine-tested; the sidebar test covers rename), is dropped back to All Photos when it is removed or no longer holds a photo, and a smart album made from the view keeps it, also when its rules are edited (the editor has no folder field). Only a folder that shows exactly its own photos can be shown (not the startup disk, not `/Volumes`-like folders above disks, not an empty one). A row that would cover other disks' photos too (the startup disk, `/Volumes`, `/mnt`…) only opens. Right-click (row or triangle): Rename Folder…, Move Folder To…, New Folder on Disk… (`folder.create`; one undo step, undo removes it while empty), Move Selected Photos Here (`photo.moveToFolder`, also *Move to Folder…* in the photo context menu, and photos dragged from the grid onto a Folders row: the row lights up, the dragged label says “Move 3 photos to “Trip””, a closed folder held under the pointer opens, a row covering several disks and Local photos are refused with the reason, photos already there say so; a drop asks first (“Move 2 photos to “Porto”?”, Don't ask again, which is kept only once the move has started, Settings → Confirm before moving photos to another folder on disk), and photos that leave the view leave the selection; files and XMP sidecars move, virtual copies follow, across volumes copied (streamed) and verified before the source goes, a name taken in the destination refuses the whole move, one undo step; an undo with the share offline or read-only is refused with the reason and kept until it can run, nothing deleted), Show in Finder (on disk, photos relinked, as in Local), Set Color Label ▸ (the five colours with their custom names, None, Edit Label Names…; `folder.label`, one undo step; the row shows the label's dot before its count and says it with its name; kept in the catalog as a folder record under the folder's identity, so it follows Rename / Move and their undo and redo, the folders inside going along), Synchronize Folder… (the dialog opens at once and scans the folder and the folders inside it on a worker thread — the look for new files beside parallel checks of the library's photos — then offers Import new photos (checked; files only browsed inLine truncated
| LRC-LIB-COLLECTIONS | Collections & sets | P1 | ✅ | `cmd:album.create`, `cmd:album.createSmart`, `cmd:album.toggleTarget`, `cmd:album.setTarget`, `cmd:album.clearQuick` | albums + folders (sets), smart albums (rule editor; rules incl. File Path — the whole string, either separator, case-insensitive), Quick Collection and target album (B in the grids adds / removes the selection; album menu ▸ Set as Target Album; the target is marked +) |
| LRC-LIB-SMARTCOLL | Smart-collection rules | P1 | ✅ | `cmd:album.createSmart`, `cmd:album.setRules`, `cmd:album.ruleFields`, `cmd:dialog.smartAlbum`, `crates/catalog/src/rules.rs`, `crates/ui-egui/src/dialogs/rules_editor.rs` | rule editor: match all / any / none, nested groups (⌥+ or + Group), 47 fields. The field menu shows Rating, Pick Flag, Color Label and Any Searchable Text, then one submenu per group (`FIELD_GROUPS`; `album.ruleFields` reports each field's `group`): Source (album — a plain or a smart album, so one smart album can include or exclude another; a rule that would make an album include itself, directly or through others, is refused, and a loop saved anyway can't recurse: inside it, the album being evaluated counts as holding no photos, so an "isn't" rule on it matches every photo, and the sidebar marks it ⚠ —, virtual copy, copy name, in a stack), File (filename, extension, file path, type, format, video duration), Date (capture / import / edit), Keywords & People (keywords, keyword count, people on named faces, people count), Description (title, caption, alt text, creator, copyright, copyright status), Camera Info (camera, lens, focal length, aperture, shutter speed as 1/250, ISO), Location (any, city, state / province, country, GPS), Size (long / short edge, aspect ratio and megapixels, all of the photo as shown: oriented and cropped), Develop (has edits, cropped, treatment), Assisted Culling (focus, best of similar shots); text / number / date / in-the-last operators; live match count; also usable as a library filter (`ruleSet`). Missing vs Classic: develop preset, flash, exposure bias, camera serial, colour profile / bit depth, IPTC Job, smart-preview status. Choice values read as words in every language (Public Domain, Black & White; `album.ruleFields` gives `choiceLabels`), while rules store the ids; yes/no fields read Yes / No and take `true`/`false`, `"yes"`/`"no"`, `"true"`/`"false"` or 1/0. Every value is checked against its field (`RuleSet::check`): numbers (rating 0–5), shutter speeds, dates (`2026`, `2026-08`, `2026-08-14`, then `T10`, `T10:00` or `T10:00:00`, a space working as the `T`, and after whole seconds a fraction and a time zone as imported capture times carry them (`.250+02:00`); no 30 February; `rules::rule_date` is the one reading for the check and the matcher; each date field has a calendar picker, `crates/ui-egui/src/widgets/date_picker.rs`, that picks a year, a month or a day and keeps a "between" in order), between = two bounds in order, in the last = more than 0 of a known unit, choices (ids, the flag's picked / rejected, a colour label's custom name), text with something to look for, an existing album (plain or smart, not a folder), no empty groups; each problem names its rule (`rule 2.1: no rating 0–5 is 9`), and album.createSmart / setRules / library.filter refuse them. The editor marks each bad rule under its row (inside groups too), keeps OK disabled until they are fixed (and its confirm refuses them before renaming anything), picks an Album rule's album with an album picker (`crates/ui-egui/src/widgets/album_picker.rs`: the sidebar's tree with folders, or type part of a name or folder; ↑ / ↓ / Enter; albums that can't be picked shown greyed with the reason) (is / isn't; a folder can't be tested), and drawing it never changes a rule: a rating of 9, "in the last 0 days" or 20,000 days, a "between" that isn't a pair all stay as stored (and are marked where they can't match) until edited. Album rules saved with an old operator (≥, between) are read as the "isn't" they always meant (`RuleSet::upgrade`). Saved smart albums whose rules no longer check are marked ⚠ in the sidebar (tooltip: what to fix; `albums.list` `problems`, `Catalog::smart_album_problems`); the name and rules of an album are saved as one undo step (`album.setRules` `name`). Problems read as the field's name and the issue in the editor's language (“Titel: braucht einen Suchbegriff”; `Problem::issue` / `field`, `Issue::text`, translated in every locale), while commands keep the English `rule 2.1: …` message for agents; rules and groups are reordered from a grip at the start of each row (`crates/ui-egui/src/dialogs/rules_editor/rules_move.rs`, `crates/ui-egui/src/dialogs/rules_editor/rules_reorder.rs`, `crates/ui-egui/src/tests/rules_reorder.rs`): dragging it shows a line where the row would land and Esc gives the drag up, a group can't be dropped inside itself or where groups would nest deeper than three levels (a not-allowed cursor and the reason), a group a move leaves empty goes away; from the keyboard, Tab to the grip, then ↑ / ↓ move the row one place (out of a group at its ends), → into the group next to it and ← out of its group, the focus staying on the moved row; the grip is named for its place (“Rule 2 of 4: Rating is ≥ 3. Move with the arrow keys”), and OK saves the order shown, as the same one undo step |
| LRC-LIB-SMARTCOLL | Smart-collection rules | P1 | ✅ | `cmd:album.createSmart`, `cmd:album.setRules`, `cmd:album.ruleFields`, `cmd:dialog.smartAlbum`, `crates/catalog/src/rules.rs`, `crates/ui-egui/src/dialogs/rules_editor.rs` | rule editor: match all / any / none, nested groups (⌥+ or + Group), 48 fields. The field menu shows Rating, Pick Flag, Color Label and Any Searchable Text, then one submenu per group (`FIELD_GROUPS`; `album.ruleFields` reports each field's `group`): Source (album — a plain or a smart album, so one smart album can include or exclude another; a rule that would make an album include itself, directly or through others, is refused, and a loop saved anyway can't recurse: inside it, the album being evaluated counts as holding no photos, so an "isn't" rule on it matches every photo, and the sidebar marks it ⚠ —, virtual copy, copy name, in a stack), File (filename, extension, file path, type, format, video duration, Same Content as Another Photo: another photo of the library has the file's content under another name or in another folder, a Duplicate's `:dup` key included; virtual copies, photos in Recently Deleted and ones only browsed in Local neither match nor count; a photo with no content hash on record never matches (photos taken over from a Lightroom catalog have none until Photo ▸ Reload from Disk reads it); kept up to date as twins are deleted, restored, removed or reloaded with other content, by a content index (`Catalog::has_same_content`) that also marks a photo's twins as touched, so album counts and views follow the edit), Date (capture / import / edit), Keywords & People (keywords, keyword count, people on named faces, people count), Description (title, caption, alt text, creator, copyright, copyright status), Camera Info (camera, lens, focal length, aperture, shutter speed as 1/250, ISO), Location (any, city, state / province, country, GPS), Size (long / short edge, aspect ratio and megapixels, all of the photo as shown: oriented and cropped), Develop (has edits, cropped, treatment), Assisted Culling (focus, best of similar shots); text / number / date / in-the-last operators; live match count; also usable as a library filter (`ruleSet`). Missing vs Classic: develop preset, flash, exposure bias, camera serial, colour profile / bit depth, IPTC Job, smart-preview status. Choice values read as words in every language (Public Domain, Black & White; `album.ruleFields` gives `choiceLabels`), while rules store the ids; yes/no fields read Yes / No and take `true`/`false`, `"yes"`/`"no"`, `"true"`/`"false"` or 1/0. Every value is checked against its field (`RuleSet::check`): numbers (rating 0–5), shutter speeds, dates (`2026`, `2026-08`, `2026-08-14`, then `T10`, `T10:00` or `T10:00:00`, a space working as the `T`, and after whole seconds a fraction and a time zone as imported capture times carry them (`.250+02:00`); no 30 February; `rules::rule_date` is the one reading for the check and the matcher; each date field has a calendar picker, `crates/ui-egui/src/widgets/date_picker.rs`, that picks a year, a month or a day and keeps a "between" in order), between = two bounds in order, in the last = more than 0 of a known unit, choices (ids, the flag's picked / rejected, a colour label's custom name), text with something to look for, an existing album (plain or smart, not a folder), no empty groups; each problem names its rule (`rule 2.1: no rating 0–5 is 9`), and album.createSmart / setRules / library.filter refuse them. The editor marks each bad rule under its row (inside groups too), keeps OK disabled until they are fixed (and its confirm refuses them before renaming anything), picks an Album rule's album with an album picker (`crates/ui-egui/src/widgets/album_picker.rs`: the sidebar's tree with folders, or type part of a name or folder; ↑ / ↓ / Enter; albums that can't be picked shown greyed with the reason) (is / isn't; a folder can't be tested), and drawing it never changes a rule: a rating of 9, "in the last 0 days" or 20,000 days, a "between" that isn't a pair all stay as stored (and are marked where they can't match) until edited. Album rules saved with an old operator (≥, between) are read as the "isn't" they always meant (`RuleSet::upgrade`). Saved smart albums whose rules no longer check are marked ⚠ in the sidebar (tooltip: what to fix; `albums.list` `problems`, `Catalog::smart_album_problems`); the name and rules of an album are saved as one undo step (`album.setRules` `name`). Problems read as the field's name and the issue in the editor's language (“Titel: braucht einen Suchbegriff”; `Problem::issue` / `field`, `Issue::text`, translated in every locale), while commands keep the English `rule 2.1: …` message for agents; rules and groups are reordered from a grip at the start of each row (`crates/ui-egui/src/dialogs/rules_editor/rules_move.rs`, `crates/ui-egui/src/dialogs/rules_editor/rules_reorder.rs`, `crates/ui-egui/src/tests/rules_reorder.rLine truncated
| LRC-LIB-PUBLISH | Publish services | P2 | ⬜ | | |
| LRC-LIB-FILTERBAR | Library filter bar | P1 | ✅ | `cmd:view.filterBar`, `cmd:filter.applyPreset`, `cmd:library.filter` (`flags`, `labels`, `ruleSet`), `crates/ui-egui/src/panels/filterbar.rs` | rating/flag (several flags at once = any of them)/label (several labels at once = any of them)/kind/edited/camera/lens/keyword, clear, save as smart album, filter presets; the filter stays as you change albums (an album the filter held is replaced by the album you show; always locked, as in the desktop app); arbitrary conditions via the smart-album rule editor |
| LRC-LIB-STACKS | Stacks (full) | P1 | ✅ | `crates/catalog/src/stacks.rs`, `cmd:stack.group`, `cmd:stack.split`, `cmd:stack.moveUp`, `cmd:stack.moveDown` | group / ungroup / toggle / set top / remove / auto by time / split / move up and down |
@@ -1032,6 +1032,7 @@ Latin stays upright. Advanced Japanese composition remains open. Regression cove
| 2026-10-22 | patch | LRC-LIB-MISSING: `library.missing` from the control channel (an agent, `mcp --connect`) checks the photos' files on a worker thread under a "Missing Photos" row in the activity stack (counts the files, ✕ stops it) and is answered when the check ends, instead of freezing the window while the UI thread looked at every file (minutes on a large library on a network share); status unchanged (✅) |
| 2026-10-27 | patch | MENU-EDIT-SELECTNONE, MENU-EDIT-PASTESELECTED: Select Only Active Photo and Paste Settings from Previous were not in the Edit menu's layout and ended up after Settings…, near the end of the menu; they now sit with the other Select and Paste rows. On macOS the Edit menu no longer shows two separators in a row where Settings… moved to the app menu; status unchanged (✅) |
| 2026-10-27 | patch | MENU-FILE-CLOSE, KEY-CLOSEWINDOW: the notes say that Close Window and the red close button of the main window quit the app, after the check Quit makes; kept on purpose; a user page says so; status unchanged (✅) |
| 2026-10-19 | minor | LRC-LIB-SMARTCOLL: smart albums and the library filter gain a File ▸ Same Content as Another Photo rule (48 fields now) that finds photos whose file content matches another photo's, under another name or in another folder; virtual copies and Recently Deleted photos don't count, photos with no recorded content hash match nothing, and an album with the rule follows deletes, restores and removals; status unchanged (✅) |
| 2026-10-17 | minor | LR-VIEW-PHOTOGRID, LR-VIEW-SQUAREGRID, LR-VIEW-FILMSTRIP, LR-VIEW-SURVEY, LR-VIEW-COMPARE, LRC-LIB-REFVIEW, LRC-LIB-PEOPLE: selection rings are theme tokens (3:1 or more against the grid; the active photo's 3 pt two-tone ring against the others' 1.5 pt), so the active photo is no longer a white ring lost on the light themes' grid; Compare, Reference and Survey frame their active photo and the People view its chosen person the same way; statuses unchanged |
| 2026-10-21 | minor | LRC-LIB-LIBFOLDERS: in a narrow panel, the count (and a label's colour dot) of a deeply indented sidebar row follows its name, wholly past the panel's edge (scrolling sideways reaches it), instead of printing over the folder's icon and name; status unchanged (✅) |
| 2026-10-23 | patch | LR-VIEW-FILMSTRIP: filmstrip cells drag photos with the grid's drag (selection, drop targets, count label; in Compare an unselected photo drags alone); a click works as before (in Compare it goes to the active side). Statuses and feature counts unchanged. |
+9
View File
@@ -955,6 +955,15 @@
reject flag stays clear. Right-clicking the stack badge opens the photo's menu.
- Screen readers say "rating 3 of 5" in every language, instead of building "stars" from an English plural.
### Find photos whose file is in the library twice
- Smart albums and the library filter have a new rule, File ▸ Same Content as Another Photo. It finds the photos
whose file has the same content as another photo's, under another name or in another folder, such as a copy made
with Photo ▸ Duplicate. Virtual copies don't count, and neither do photos in Recently Deleted or only browsed in
Local. An album with the rule keeps its count up to date as copies are deleted, restored or removed.
- The rule needs the library to have recorded each file's content. Photos added by an import have it; photos taken
over from a Lightroom catalog don't until you run Photo ▸ Reload from Disk on them, so they match nothing until
then, even when their files are identical.
### 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
photo by half a pixel used to lose a third of its finest detail; now it keeps most of it, without halos around