"Open in default app" freezes obsidian

Steps to reproduce

  1. Launch Obsidian using XDG_CURRENT_DESKTOP=dwm obsidian.
  2. Try to open a PDF in the vault using “Open in default app”.
  3. PDF opens up and Obsidian freezes.

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

Obsidian should not freeze.

Actual result

Obisidan freezes and only becomes responsive after I close the PDF viewer.

Environment

SYSTEM INFO:
	Obsidian version: v1.8.9
	Installer version: v1.8.9
	Operating system: #1 SMP PREEMPT_DYNAMIC Sun, 23 Mar 2025 08:02:10 +0000 6.12.20-1-lts
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 4
	Plugins enabled: 4
		1: Dataview v0.5.61
		2: Footnote Shortcut v0.1.3
		3: QuickAdd v1.8.1
		4: Tag Wrangler v0.6.1

RECOMMENDATIONS:
	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.

Additional information

N/A