Restart reopens a deleted photograph and writes its sidecar #82

Open
opened 2026-09-27 23:43:43 +00:00 by dtourolle · 0 comments
Owner

On restart, the app reopens the last photograph and writes its sidecar again, even when that file has been deleted.

Why

Seen by the manual's giant_pano scene, which has to work around it: it deletes the copied DNG, restarts, and deletes again, because the first restart recreated the sidecar for a file that no longer exists. A sidecar written next to a missing original is litter in the library, and on Nextcloud it syncs.

Acceptance

  • reopening the last photograph checks it still exists and falls back to the grid if not
  • no sidecar is ever written for an original that isn't there
**On restart, the app reopens the last photograph and writes its sidecar again, even when that file has been deleted.** ## Why Seen by the manual's `giant_pano` scene, which has to work around it: it deletes the copied DNG, restarts, and deletes again, because the first restart recreated the sidecar for a file that no longer exists. A sidecar written next to a missing original is litter in the library, and on Nextcloud it syncs. ## Acceptance - [ ] reopening the last photograph checks it still exists and falls back to the grid if not - [ ] no sidecar is ever written for an original that isn't there
dtourolle added the catalogsize:S labels 2026-09-27 23:43:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dtourolle/DarkRoom#82