Drag and Drop Images does not copy / embed

Steps to reproduce

  1. Create a new note.
  2. Drag an image (jpeg in this case, I haven’t tested other types of attachments) from File Explorer to note. Image is correctly copied to the vault and embedded in the note.
  3. Drag a second image from the same folder in the same way, and the image is not copied to the vault and a URL for file is inserted into the note.

Expected result

I expect both images to be copied to the vault and embedded into the note. Or at the very least be handled in the same manner.

Actual result

The first image is copied to vault and embedded:

![[IMG_1310.jpg]]

the second image simply URL is inserted referencing the file.

file:///home/eric/Dropbox/tmp/IMG_1311.JPG

Environment

  • Operating system: Ubuntu 22.04 LTS
  • Debug info: Obsidian v0.15.6, using Obsidian Sandbox vault, with no plugins or modifications.

Additional information

post a screen recording of this happening in the sandbox vault and make sure you are not holding ctrl while drag and dropping.

Here is the screen capture. Just drag and drop, not using ctrl key or any other keyboard modifier.

I had to zip the file to get it posted as .webm files do not appear to be allowed.

Screencast from 07-13-2022 07:30:15 AM.zip (760.6 KB)

I can’t reproduce.
What is that gnome file manager?
Does it happen from another file manager?

Just the default vanilla Nautilus file manager. Nothing fancy. The Ubuntu install is pretty much “out of the box”.

I have not tried any other file manager.

-Eric

Screenshot from 2022-07-13 09-01-35

I just installed KDE and cannot reproduce, only seems to be happening in Gnome.

As mentioned, I have installed KDE and running under KDE everything works as expected.

My next test was to test File Explorer Dolphin running under Gnome.

Even running Dolphin and Nautilus file explorers side-by-side under Gnome, dragging from Dolphin works as expected, but Nautilus only works intermittently. Sometimes image copied and embedded and other times a file URL is inserted. I have not been able to find any correlations for when it works and when it doesn’t.

Given that Gnome/Nautilus are the Ubuntu default, I’m still curious why nobody else seems to see this or has reported it.