Visual Leading Space Bug in File Explorer

Here is a minor issue I observed:

Description

After being created, folders in the Obsidian file explorer display with a visual leading space that doesn’t actually exist in the folder name. This is purely a UI rendering issue that disappears after restarting Obsidian.

Steps to Reproduce

  1. Create or rename folders in Obsidian
  2. Notice that they appear to have extra leading space in the file explorer (not a full indentation, see screenshot)
  3. Check the actual folder name (via rename dialog or file system) - no leading space exists
  4. Restart Obsidian - the visual spacing issue disappears

Expected Behavior

Folders should display with consistent alignment at the same hierarchy level.

Actual Behavior

Some folders appear to have a leading space in the file explorer UI, creating inconsistent visual alignment.

Evidence

System Information

  • Obsidian version: 1.8.10
  • OS: macOS 15.5
  • Theme: Default

Additional Notes

  • Confirmed this is not a file system issue
  • Tested via Local REST API - no leading spaces in actual folder names
  • Pure UI rendering bug that affects visual consistency

You mention using the default theme, but nothing about being in Restricted mode (community plugins disabled) or disabling all CSS snippets (if you have any).


I can’t reproduce this in the v1.9.4 Sandbox vault.

I can’t reproduce. Please Post a screen recording of this happening in the sandbox vault and the output of “show debug info” command

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