Closing a window will close all windows

Steps to reproduce

Step 1: Open multiple windows, e.g.:

  • 2 vaults
  • A vault and the sandbox vault
  • A vault and its setting
  • A vault and the welcome window (the one that let you choose what vault to open)

Step 2: Close a vault, or the setting or welcome window by clicking the X button or Alt+F4.

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

Yes. I found some previous bug reports:

Expected result

Only the window I close is closed.

Actual result

All windows are closed.

Environment

SYSTEM INFO:
	Obsidian version: 1.13.6
	Installer version: 1.12.4
	Operating system: Windows 11 Home Single Language 10.0.26200
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: off
	Base theme: adapt to system
	Community theme: Catppuccin 0.4.18
	Snippets enabled: 2
	Restricted mode: off
	Plugins installed: 37
	Plugins enabled: 35
		1: Another Quick Switcher v14.7.0
		2: Various Complements v11.4.0
		3: Advanced Tables v0.23.2
		4: Auto Link Title v1.5.5
		5: Better Inline Fields v0.3.5
		6: Code Editor Shortcuts v1.14.0
		7: Better Word Count v0.10.1
		8: Dataview v0.5.68
		9: Dataview Autocompletion v0.9.5
		10: File Diff v1.1.2
		11: Enveloppe v7.8.2
		12: Folder notes v1.8.26
		13: Front Matter Title v4.1.1
		14: Global Search and Replace v0.5.0
		15: Excalidraw v2.26.4
		16: Heading Shifter v1.12.1
		17: Hledger Notes v1.1.2
		18: Image Captions v1.1.7
		19: Image Context Menus v1.13.0
		20: Image to text OCR v1.0.5
		21: Jump to link v0.5.16
		22: Language Translator v1.0.4
		23: Note Refactor v1.8.2
		24: Natural Language Dates v0.6.4
		25: Open with v0.3.2
		26: Path Finder v1.1.7
		27: Plugin Groups v2.1.0
		28: Quick Switcher++ v6.1.6
		29: Quick Explorer v0.2.19
		30: Regex Find/Replace v1.2.0
		31: Style Settings v1.0.9
		32: Templater v2.25.0
		33: Version History Diff v2.3.8
		34: Update time on edit v2.4.0
		35: Advanced Mobile Toolbar v1.8.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.

You could try updating the installer.