@Silver Looking in the dev tools was a nice nudge, thanks! Here is what I’ve got after pressing the new note hotkey three times:
This lead me to look into the notes into my vault that were titled “Untitled”. I had 16 of them — Untitled, Untitled 1…Untitled 15
In some of them I had text, others were zero bytes. Renaming the ones that had contents fixed the issue. Then I deleted all the empty ones and decided to try and see if there was an upper limit to new notes (was this my issue?).
Pressing Cmd+N few dozen times in Obsidian just created the proper amount of empty files.
Now, here is where it gets interesting. I renamed the last created note from “Untitled 27.md” to “untitled 27.md” and got the same error I’ve been getting before—“File already exists”.
Renaming the note back to “Untitled 27.md” had the Cmd+N hotkey function normally. Turns out that if I rename any of the files in the Untitled note stack from “Untitled n.md” to “untitled n.md” the new note functionality breaks.
Here is the dev console output after I reloaded Obsidian and performed the above experiments:
note: FileSystem is case insensitive info was present when I took the first screenshot, too. I just didn’t think it was relevant at the time of writing.
Here is my updated bug report:
New Note functionality breaks on renaming “Untitled n” note to “untitled n”
Steps to reproduce
- Open Obsidian
- Press Cmd+N and create a new note
- Rename the “Untitled n” note to “untitled n”
- Press Cmd+N to create a new note
Get a blank new note with title “Untitled n+1”
Nothing happens in the Obsidian UI and this error shows up in the Developer tools console: