Steps to reproduce
- Create a new note.
- Focus on title, rename the note.
- Hit tab/click to focus on the note body.
Expected result
Note title should be saved.
Actual result
Sometime the note title reverts back to the one before modification. Can’t see a pattern.
Environment
- Operating system: Windows 10
Additional information
Here’s an attempt of catching the bug in a gif. It’s random enough that I can’t record it on demand so I’ve tried for one minute by typing some words.
For clarity:
- First renaming attempt: from “bad euc” to “bad edu” → OK
- Second renaming attempt: from “bad edu” to “Bad Education” → Reverts to “bad edu”
I can’t reproduce
do you see errors in the console (ctrl-shift-i)?
Hum, OK so no errors in the console but I have weirdly narrowed down this bug: I can rename the note just fine with any words except “Bad Education”. “Bad Educatio” works just fine.
OK it was too weird not to be something dumb: this happens when there is already a note with the same name.
In this example a note named “Bad Education” was already in my vault but the warning about duplicate was hidden by my custom CSS
BUT I had already checked if it was a duplicate problem by searching for example filename:Bad Education
which shown no result, although after checking directly in the File Explorer there is indeed a file in my vault named Bad Education.md
.
Yep. I need to sleep. Sorry for the confusion.