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
- Set Settings → Files and links → Deleted files to Move to system trash (the default for a new vault).
- Create a new note.
- 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.trashand 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-filecommand, 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.logat 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.