fix(archive): an archive picked again is not read until its read ends
Picking archive A, then B, then A again before B's read ended left A's read marker set while its tree and figures were already cleared: Rebuild, Scan, Verify and Maintenance were enabled and the rebuild dialog counted 0 sequences. ForgetRead now clears the marker too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
2 files changed
+11
No files matched your search
@@ -458,6 +458,8 @@ public sealed class ArchiveViewModel : SectionViewModel
|
||||
/// </summary>
|
||||
private void ForgetRead()
|
||||
{
|
||||
// Picking A, then B, then A again before B's read ends must not find A "read" with none of its figures.
|
||||
_readId = null;
|
||||
_search?.Cancel();
|
||||
_duplicates = null;
|
||||
_orphans = null;
|
||||
|
||||
Reference in new issue
Block a user