Unable to attach screenshot images in macOS 14.0 when Wikilinks turned off

Steps to reproduce

This only happens on the new macOS 14.0. Works fine on 13.x.

  1. Turn off “Use Wikilinks” in the settings
  2. Take a screenshot with Cmd-Shift-4
  3. Drag the image into Obsidian editor page

If I rename the screenshot image to like “foo.png” then it works fine. It seems that something particular about the screenshot filename causing this problem.

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

Should see the image in the editor:

Actual result

The image cannot be shown:

Environment

MacOS Sonoma 14.0
Obsidian Version 1.4.14 (Installer 1.4.13)


Additional information

can you post a screen recording of this happening in the sandbox vault?

Here you go:

What is the filename exactly?
Is there some weird space right before PM?!?

something like “Screenshot 2023-10-05 at 5.07.05 PM.png”. That’s the standard macOS screenshot filename.

I have to emphasize that it works on macOS 13.x but not on 14.0. The filename looks the same, though.

I just found out that if I replace the spaces in the filename to something else, the image can be imported correctly. Please fix this.