I was looking around on the forum but found only one similar case in what’s called a Bug Graveyard. As far as I’m concerned, this Boogie is an undead.
Steps to reproduce
Well, I was using the iOS Shortcuts app and called a command as per the instructions in Obsidian Help:
obsidian://open?vault=my%20vault&file=my%20note
This opens the note my note
in the vault my vault
, assuming my note
exists and the file is my note.md
.
In my case with the very unpredictable variables Vaultname and Filename:
obsidian://open?vault=Vaultname&file=Filename.md
There are no issues with spaces in filenames, I sorted that out (the variables are correct, when you internally run the shortcut, you can see what the output is).
I reproduced in a Virgin Vault as well; see video at the bottom.
Expected result
Open the specified vault with the specified filename.
Actual result
Depending on where you are in the app – on the main screen with the vault list or in a vault with a file open in it – it either opens the vault but not the file itself (I tried with single-word filenames with no diacritics as well) or doesn’t even open the vault.
If you are within the right/current vault, opening a file works, but you would not call a shortcut to do that, because the QuickSwitcher is faster.
Environment
iOS 15.6 – Latest Obsidian 1.4.3 version
Additional information
What I found is that calling the shortcuts works reliably only if Obsidian is not among the open or recent apps. Hence I was looking around for a way to kill Obsidian but there is no Shortcut action for that (which calls for more drastic measures involving Linux shell).
I created a longish screencast which features the various scenarios: