Android app sometimes duplicates notes on URI launch

Steps to reproduce

  1. Create a new Vault on Android
  2. Create an outside link clicker or tool to open URIs
    • I use KWGT with a touch action that launches my link.
  3. Use some version of the URL: obsidian://new?vault=Sandbox&name=I-$df(YYYY-MM-dd)$T$df(HHmm)$
  4. Test the link once, leaving the app open on a not that DOES NOT have the same name as in the link
  5. Click the link after having exit the Obsidian app for a bit
    • For me it was inconsistent, but started failing pretty reliably around the 1h mark

Did you follow the troubleshooting guide? [Yes]

Expected result

The obsidian app is launched, the vault is set to the correct one, and a new note is created with the file name specified in the link. In my case, the current time.

Actual result

A copy of the last opened note is created (title only, no content).

I have tested if while quitting the app in multiple different vaults, namely at least once in the Sandbox, and in a Vault I use and set to restricted mode for the test.

When it fails, the results are always the same: The vault is not changed, and a copy of the note with a " 1" suffix is made. The file copied can have a completely different name / naming scheme from the one we want to open. “E-test” will get duplicated even if I try to open “I-2025-…”.

Environment

SYSTEM INFO:
 Operating system: android 16 (Google Pixel 8)
 Webview version: 140.0.7339.51
 Obsidian version: 1.9.12 (237)
 API version: v1.9.12
 Login status: logged in
 Language: en
 Catalyst license: none
 Live preview: on
 Base theme: adapt to system
 Community theme: none
 Snippets enabled: 0
 Restricted mode: on

RECOMMENDATIONS:
none

Additional information



One additional piece of information, when this happens, the obsidian app launches, the screen stays blank for a bit, and this is just conjecture, but almost like a timeout occurred, the app then launches the file copy.

I have just had this happen to me when I simply open the app with the home screen icon…

Is there any news for this bug report?

I have been unable to reproduce this so far on my pixel, but will try again.

It has been happening non stop for the last 2 months. It is very difficult to deal with.

I have tried several times, starting from both a sandbox vault and a different vault. Obsidian running and cold start and I can’t reproduce.

Your own screenshot shows a I-2025-09-23T1405 1 which is in the same pattern as your link not a different filename.

Can you kindly provide a screening of this bug happening? Also please try to enable restricted mode in your own vault before you test.

Thanks.