Skip to content

Latest commit

 

History

History
79 lines (67 loc) · 4.1 KB

desktop-window.md

File metadata and controls

79 lines (67 loc) · 4.1 KB

Desktop window

Back to the README

lr2lc-gui is a window for the same conversion: choose a catalog and a LightCraft library, choose what to transfer, run a dry run or the transfer, and read the run log. It runs lr2lc-core in its own process and talks to LightCraft over the control port, like the command line.

cargo run --release -p lr2lc-gui   # needs Rust 1.95 or later

A short tour: the Transfer page, the question before writing and the run log

The Transfer page: catalog checks, target library, parts to transfer, summary
  • Transfer: the catalog with its checks (file found, catalog version, open in Lightroom, LightCraft writing XMP automatically, photos without original, originals only in iCloud), the target library with LightCraft's connection, path mappings (kept per catalog), the parts to transfer (the same as --skip), the advanced options (label names, control port, continue despite XMP auto-write) and a summary from a read-only scan of the catalog. A blocking check disables the buttons and says why. Dropping a .lrcat file on the window chooses it.
  • Running: progress per phase in the order lr2lc works (read the catalog, check the library, keywords, photos with their metadata and develop settings, albums and stacks), counters and the last log entries.
The question before writing: photos already in LightCraft, with four choices
  • Before writing the transfer asks in one window, only when there is something to decide, and writes nothing until it is answered: originals only in iCloud (before the library is checked: transfer anyway or cancel and download them first); photos the library already has, with the four --existing choices for all photos or per photo (with a filter for photos edited in LightCraft and Show in LightCraft, which selects the photo there); and photos an earlier run transferred that were deleted in LightCraft, imported again or left deleted (see --removed). Cancel transfer ends the run with nothing written.
  • Stop and Cancel: Stop halts at the next photo and keeps what is transferred; a new run continues without duplicates. Cancel (after a confirmation) halts and takes the run back: photos, virtual copies, albums, keywords and stacks it added are removed from the library again (records only, never the original files), album members, Quick Collection photos and fields it changed are set back, and the mapping file is restored. Development settings it wrote to photos that were already in the library cannot be set back over the control port; the log lists them (develop_not_reset). report.json then has a rollback section with counts.
The run log with filters, entries and details
  • Log: every run's run log, filterable by status, area and text, with details per entry. Runs are kept in the app's data folder (~/Library/Application Support/lr2lc/runs on macOS); Save report.json saves the report with names or, with Anonymized, without them.

The theme follows the system and can be switched in the top bar. The window uses the Inter font (SIL Open Font License, see crates/lr2lc-gui/assets/fonts).

Not available yet: Retry this photo and Overwrite with Lightroom state in the Log are disabled until lr2lc can run a single photo (#36). There is no pause, and the spinner does not follow the system's reduced-motion setting.