Skip to content

[Bug]: Cannot delete an unlinked file using "Move files to trash" #1170

@RustyNova016

Description

@RustyNova016

Checklist

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

TagStudio Version

9.5.6

Operating System & Version

Linux Mint 22

Description

I got some unlinked files I want to get rid of, but when using "Move to trash" it isn't deleting the entry.

Expected Behavior

I'd assume that it would indeed delete the entry, even if there's no underlying file.

Steps to Reproduce

  1. Make an unlinked file
  2. Try to remove entry

Logs

2025-10-21 21:20:47 [info ] [delete_file] Sending to Trash: /media/alephria/Geario/File Storage/Pictures/TagStudio Vault/Tagerine Downloads/Pixiv/illust_134221179_p3.png
2025-10-21 21:20:47 [error ] [delete_file] File Not Found: /media/alephria/Geario/File Storage/Pictures/TagStudio Vault/Tagerine Downloads/Pixiv/illust_134221179_p3.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumAn issue that shouldn't be be saved for lastTagStudio: LibraryRelating to the TagStudio library systemType: BugSomething isn't working as intendedType: File SystemFile system interactions

    Type

    Projects

    Status

    🛠 Ready for Development

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions