Renaming notes starts with spaces affects displaying

Steps to reproduce

Rename the note in file list or the title bar of the editor with spaces as beginning.

Expected result

Cut off the unwanted spaces in the front of the string. (Under Windows)

Actual result

The unwanted spaces were displayed, while the actual file name wasn’t modified.

Environment

  • Operating system: Windows 10.
  • Debug info:
    Can’t access the command.
    OS: Windows 10
    Obsidian Version: 1.1.9
    Tested in a newly created empty vault.

Additional information

Relaunch Obsidian and the file name would be displayed as is.

Additional: Appending spaces to rename the file in Obsidian (both file list and title bar) also cause this. The name will be displayed with spaces, but the file name stays still.

Thanks for the report! Will be fixed in the next release.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.