I create a new note by right-clicking in the file explorer, inside a sub-folder
A new “Untitled” note appears
I click the title above the editor and rename the page and press Enter
The cursor moves to the editor, but the note title resets to “Untitled”. Additionally a second new “Untitled” note appears in the file explorer.
When closing and re-opening Obsidian, one of the “Untitled” notes now has the correct title that was entered, but the second “Untitled” note still exists.
Expected result
After typing the title and pressing enter, the new note should have the correct title, both in the title line above the editor and in the file explorer. No second note should be created.
Actual result
The cursor moves to the editor, but the note title resets to “Untitled”. Additionally a second new “Untitled” note appears in the file explorer.
When closing and re-opening Obsidian, one of the “Untitled” notes now has the correct title that was entered, but the second “Untitled” note still exists.
Environment
Operating system: macOS Catalina 10.15.5
Obsidian version: v0.6.4
Using custom CSS: no
Additional information
No errors in dev console.
This does not happen when I rename a note in the root directory, just in sub-directories.
I still can reproduce this in v0.6.5, but I think it only occurs within folders that contain special characters. I write my notes in German, so there are some folders that have german umlauts in them (like ä, ö or ü).
I also tested this on folders that contain characters with accents (like é), and it happens there, too.
Additionally, when creating such folders, the folders immediately disappear once the name containing the special character was entered. So I guess it is some kind of encoding/unicode related bug.
I can’t reproduce this on 0.6.6. If you still have this problem after we release it, please make a video with loop (or anything else) in case there is something I am missing.
@MamboSteve@WhiteNoise Ok, I’ve looked into this. Turns out it’s a unicode issue, and related to something we’re already working on. So, we’re on it. Thanks!
The note disappear from file explorer. I can search it, but I cannot access it.
After command + R to reload the app, The note appears, and everything is fine.
I tested this with the Korean title (안녕하세요) suggest in pueues post. I can confirm that it is the exact same behavior for me as with the German umlauts (ä, ö and ü).