Deleting a file quits Obsidian when "Deleted files" is set to System trash

Deleting a file quits Obsidian when Settings → Files and links → Deleted files is set to Move to system trash. No dialog, no error, no crash report — the window simply closes and the file is still in the vault afterwards.

Steps to reproduce

  1. Set Settings → Files and links → Deleted files to Move to system trash (the default for a new vault).
  2. Create a new note.
  3. Delete it — file menu → Delete, or Ctrl+P → “Delete current file”.

The window closes immediately at step 3.

Also reproduces in a fresh sandbox vault, with no community plugins installed and no custom theme.

Expected behavior

The note moves to the system trash and Obsidian keeps running.

Actual behavior

Obsidian exits at once. The note is not deleted — it is still in the vault after restarting. There is no error dialog and no confirmation prompt.

Additional findings

  • Setting Deleted files → Move to Obsidian trash (.trash) avoids the problem completely: the note lands in .trash and the app keeps running. That is my current workaround.
  • Deleting also exits the app when the delete is issued through Obsidian’s own app:delete-file command, so it is not tied to a single UI entry point.
  • Writing, renaming, copying and appending files are unaffected. Only the system trash path is involved.
  • The recycle-bin API is healthy on this machine: .NET
    [Microsoft.VisualBasic.FileIO.FileSystem]::DeleteFile(path, 'OnlyErrorDialogs', 'SendToRecycleBin')
    moves a file to the recycle bin normally.
  • Windows records no application error, no WER report and nothing in the Application event log — the process appears to exit rather than crash.
  • Nothing is written to %APPDATA%\obsidian\obsidian.log at the moment it happens.
  • Files remaining after the exit are intact, not truncated.

Environment

SYSTEM INFO:

	Obsidian version: 1.14.5
	Installer version: 1.14.5
	Operating system: Windows 11 Pro 10.0.26200
	Login status: not logged in
	Language: zh
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 1
	Plugins enabled: 1
		1: Local REST API with MCP v5.5.2

Additional details not covered by SYSTEM INFO:

  • Deleted files setting: Move to system trash (the failing one) — Move to Obsidian trash works.
  • OS build: Windows 11 Pro 25H2, build 26200.9711.
  • Vault location: local fixed disk (C:), no sync client active during the test.
  • Reproduced with: the affected vault, and a clean sandbox vault.

works fine for me.

Is something blocking access the access to system trash?

Nothing is blocking it as far as I can tell — the .NET recycle-bin API works on this machine, as noted in the report, so the Recycle Bin itself is fine.

The only thing I’d add: the paths that work and the one that doesn’t differ exactly at fileManager.trashFile() → Electron shell.trashItem(). Permanent delete works, Obsidian trash works, system trash exits the app. My guess is that call failing and taking the main process down instead of rejecting.

Beyond that I have no idea what else could differ between our setups — but I’m happy to help you diagnose.

Do you have another user account on that device?

I’d try in another user account, Obsidian Sandbox or test vault is fine, to see if the issue is system-wide or only happening in your main user account.