Quick Look preview never finishes for Markdown files in the Trash

Steps to reproduce

  1. Put any Markdown file in the Trash (~/.Trash).
  2. Open the Trash in Finder, select the file and press Space.

Did you read and follow the Troubleshooting Guide? Yes

Expected result

The Obsidian Quick Look extension shows the rendered note, as it does for the same file in any other folder.

Actual result

Quick Look shows only the loading spinner. Nothing appears, even after several minutes. When I move the same file to ~/Downloads, the preview appears immediately. So the file content is not the cause; only the location is.

Environment

SYSTEM INFO:
	Obsidian version: 1.15.0
	Installer version: 1.15.0
	Operating system: Darwin Kernel Version 27.2.0: Wed Oct 14 23:46:57 PDT 2026; root:xnu-13432.41.4~25/RELEASE_ARM64_T8103 27.2.0
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 9
	Restricted mode: off
	Plugins installed: 28
	Plugins enabled: 24
		1: Front Matter Title v4.2.1
		2: Git v2.41.1
		3: Outliner v4.10.2
		4: QuickAdd v2.32.1
		5: No Empty Windows v1.1.0
		6: TagFolder v0.18.22
		7: Folder notes v1.8.26
		8: Claude Code IDE v0.2.7
		9: Document Comments v0.1.18
		10: Track Changes v2.2.0
		11: Graph Link Types v0.3.4
		12: Breadcrumbs v4.22.1
		13: Dataview v0.5.68
		14: Filename Heading Sync v1.11.2
		15: Excalidraw v2.29.0
		16: Daily Review drag and drop v0.1.0
		17: AutoIcons v1.3.0
		18: Linter v1.34.2
		19: Slides Extended v2.5.4
		20: Better Export PDF v2.0.3
		21: Commander v0.7.0
		22: Operon v4.4.0
		23: Title Links v0.1.0
		24: PA Session v0.1.0

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.


Reproduced on 1.15.0 with the official installer from obsidian.md. The diagnostics below (logs, sample, entitlements) were collected on 1.14.5; the bug behaves the same on 1.15.0. macOS 27.2 (26B123), Apple M1.

The Sandbox vault and plugin updates don’t apply here: the Quick Look extension runs outside the Obsidian app and doesn’t load any vault, plugin or theme. No other Markdown Quick Look extension is installed (pluginkit -mAvvv -p com.apple.quicklook.preview lists only Obsidian’s for net.daringfireball.markdown).

Additional information

  • No error is logged. While the spinner showed, log stream on Quick Look and the extension process showed only routine BackBoard:EventDelivery lines. There were no sandbox denials (kernel deny messages), no WebKit errors, and no “Preview failed” or “The preview renderer failed” messages, which the extension binary contains.
  • The extension process is idle, not busy. ObsidianQuickLook stayed alive at 0% CPU for over 25 minutes. A sample (https://gist.github.com/cassus/6f509ba93dd8dcd15d145c72f79c114a) shows every thread waiting in the run loop or on semaphores, with no Obsidian code on any stack. It looks like the extension is waiting for an asynchronous callback that never comes.
  • Where the handshake seems to stop. In the renderer bundle (quicklook/current/quicklook.js), the page posts {type:"ready"} to the quickLook message handler, receives the note content, and then posts {type:"complete"} or {type:"failed", message}. No failure is reported, so the content most likely never reaches the page after “ready”. The native side may fail to read the file, or to list its folder, inside ~/.Trash and never resolve or report the error. This is a guess from outside the extension.
  • Entitlements: app sandbox, files.user-selected.read-only, network.client, plus a read-only exception for ~/Library/Application Support/obsidian/quicklook/. ~/.Trash is a privacy-protected location on macOS, which may explain why only the Trash is affected.
  • Suggestion: even if reading from the Trash can’t be supported, a timeout or error path would help. Then Quick Look would show an error or fall back to plain text instead of spinning forever.