SYSTEM INFO:
Obsidian version: v1.3.7
Installer version: v1.3.7
Operating system: #50-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 10 18:24:29 UTC 2023 5.19.0-50-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
Additional information
Problem appeared after migrating to Ubuntu 22.04 LTS. It never appeared in Ubuntu 20.04 LTS (Gnome).
This bug was previously reported here ( Drag and Drop Images does not copy / embed ) but was closed. I can reproduce the problem exactly, also in the sandbox. I do not know how to post to a closed topic, apologies if there was another way to report this.
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.
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.
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.
I have problem as well with embeding files il obsidian on Ubuntu 22.04.
I try with dolphin and the link is ok :
![[IMG_1310.jpg]]
but the image is broken an d I can’t visualize it whereas it is working fine with Windows 11 (same vault, synchronise wih dropbox)