Skip to content

[Bug]: Unpredictable library deletion still persists in 9.4.1 #553

Closed
@The-Stolas

Description

@The-Stolas

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha v9.4.1

Operating System & Version

Windows 10 Professional

Description

I had a library of 792 fully tagged files (15-20 tags per file, complex parent tags). JSON size was roughly 290kb. The JSON was created during 9.2.1, but I have been using TagStudio 9.4.1.
I wanted to add 15 new files into the library, so I rapidly closed and opened the app during a rescan and thumbnail creation, because I wasn't sure whether files were in the folder. Upon the relaunching the app, the JSON wasn't there and TagStudio didn't display the library.

I had a semi-recent backup, but I still lost tag data for 158 files. I'm not sure whether this can be reliably reproduced, because:
a) I no longer have the original JSON that produced this deletion.
b) I've done this before about a dozen times and it didn't delete the library.

So it may seem like it's just random wiping and I'm not sure what affects it. I'll back up more often now.

Expected Behavior

JSON file isn't deleted randomly.

Steps to Reproduce

  1. Have a JSON size and composition similar to mine (790 files, JSON of roughly 290kb in size).
  2. Drop 15 files new into the folder.
  3. Launch a rescan while thumbnails are still being rendered.
  4. Close the app immediately after the rescan was started.

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as intendedType: DuplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions