Closing a vault closes all vault

Steps to reproduce

Open two vaults, try to close one, both closes. I cant close the sandbox vault and keep my personal vault open…

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

Please, follow the Troubleshooting Guide before answering Yes.

Expected result

Only the one vault I close to close, not the others.

Actual result

All vaults closes

Environment

SYSTEM INFO:
Obsidian version: 1.12.4
Installer version: 1.12.4
Operating system: Windows 11 Pro 10.0.26200
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: light
Community theme: Underwater 1.6.60
Snippets enabled: 4
Restricted mode: off
Plugins installed: 10
Plugins enabled: 8
1: Style Settings v1.0.9
2: Excalidraw v2.20.5
3: File Cleaner Redux v1.13.4
4: Image Converter v1.4.1
5: Image2LaTEX v1.1.2
6: Local Backup v0.2.0
7: Templater v2.18.1
8: Latex Suite v1.10.4
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.


Additional information

How are you closing? What command or hotkey or button specifically?

This bug was fixed. Please, download and reinstall Obsidian.

Thank you, I somehow missed the other bug report about the same issue. Thanks for the fix.

Same here.

Normal, default way:

Actually, I see this issue as bigger, because if you press F1 to open up a modal to go to Sandbox or if you go to Manage Vaults, closing either of those windows will close these modal windows and two other vaults as well (if I had more than one open).

Also, if you re-start Obsidian now, you get both closed vaults re-opened, instead of the lastly closed vault (which was how it used to work).

So, based on what I see happening on my Win11 install (fresh re-install with 1.12.4 exe) I cannot see this “fixed”.


EDIT.

Strange… The Releases · obsidianmd/obsidian-releases exe doesn’t have the fix, only the Download - Obsidian version does?

The latter works.

I can reproduce this on Obsidian 1.12.4 (latest version as far as I can tell) on Windows 11 Pro.

In my case, Obsidian fully crashes rather than only closing the affected window, and crash dump files are generated in the CrashDumps folder.

I also see crashes on this version when attempting to close the Help window.

I can provide the dump files from the CrashDumps folder if that would be helpful.

You can verify that by running the command “Show debug info” in Obsidian, and pasting the info here. Or just by looking in the Settings → General area, and seeing “Installer version”.

Please, just download and reinstall obsidian for this one

This issue is resolved for me.

I was confused because the version number was unchanged, so I did not download the newer build.

1 Like