Steps to reproduce
-
Let’s say I have 2 vaults. VaultA and VaultB.
-
I close VaultB. I then close VaultA last. VaultA is the last-closed vault.
-
I have 4 test urls to open either the vault or a specific note:
obsidian://open?vault=VaultA
obsidian://open?vault=VaultB
obsidian://open?vault=VaultA&file=Test.md
obsidian://open?vault=VaultB&file=Test.md -
If Obsidian is closed, clicking any of those urls will open the last-opened VaultA, and the last-opened note, and ignore anything in the url.
Expected result
The specified vault and/or note should open.
Actual result
If the Obsidian app is closed, clicking any of these links will open the last-opened vault and the last-opened note.
If Obsidian is already open, the specific vault or the specific note in the URL does open as expected.
Environment
- Operating system: MacOS
- Obsidian version: 0.9.10