Commit Graph
2 Commits
Author SHA1 Message Date
Claude dbbb5079d1 fix(settings): a read of the archive's settings that overlapped an edit waits for it and reads again
A read of the open archive's settings that an Archive row edit overlapped
was dropped and left to the edit's end, so a folder change could complete
while the rows still showed the previous archive. The read now waits until
no edit is being written and reads again, so the retarget and the reload on
showing Settings are done only once the rows show what the archive holds.
A smoke test edits a row while Settings reads the archive, with the
settings lease held elsewhere.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 19:25:32 +00:00
Claude 59d49f16af fix(settings): a read of the archive's settings never undoes an edit saved meanwhile
Settings › Archive reads archive.json without the settings lease each time it
is shown and after a waited edit. On a slow share such a read could return
the file as it was before a template, proxy or thumbnail edit that was being
written, then put the old value back on the row and in this PC's defaults
while the archive kept the edit. ArchiveReadGate now drops a read that
overlapped an edit being written; the rows are read again at once, or when
the last edit being written ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 19:00:45 +00:00