(the number of attempts varies; sometimes works on the first go, but not usually)
And sometimes, when it "works" it will just insert the filesystem path to the file I dragged into the editor.
So strange. Happens on both of my laptops (same versions of everything).
This has been the typical behavior for a very long time. I just never griped about it because I only used it here and there. Lately, I have been using this feature more and now it is officially a PITA.
Is the file manager in Fedora 40 "Files" like Gnome / Ubuntu?
I just installed Joplin 2.14.22 on an Ubuntu 22.04 VM and if I drag & drop from "Files" into the markdown editor I mostly just get the file path. Very occasionally either the file does import properly or nothing happens. If I drag and drop from the desktop the files import correctly every time.
Using Kubuntu 22.04 and KDE's "Dolphin" I get a proper import from drag & drop into the Joplin 2.14.22 markdown editor every time.
Finally I installed Joplin 2.14.22 onto Linux Mint 21.3 Cinnamon and drag & drop from "Nemo" into the markdown editor works every time.
So if you are using "Files" it appears you are not the only one, but there does appear to be something special about "Files" / Gnome.
Yes. Fedora GNOME and it's default file manager, Nautilus (that's its project name, it comes up as "Files" as an app name). It's interesting that you get the path more often than not. Nautilus is something like ... 23 years old. So, all the crusty bits should be ironed out by now. One would think anyway.
Version info: Nautilus (or Files) v46.1. I have the Sushi plugin installed with it which provides facility to see certain previews of files.
You only ever have to show the initial copyright date for something. You don't have to "renew" it. GNOME was launched in 1999. Nautilus was launched in 2001.
Files (aka Nautilus) is the default GNOME file manager and it is well maintained.
I installed Dolphin and Nemo (Nemo is a fork of Nautilus) on my Fedora installation. Same behavior was on display.
Saving stuff to the desktop. You turn that on with a GNOME Extension. I did that and … The behavior is the same.
I turned on debug mode and nothing obvious is going on. No error message that I could see.
I realised that I just meant that some of the code may be old
Anyway, Linux Mint has Nautilus in its software store (v42.6). I installed it and it worked perfectly when dragging and dropping files into Joplin.
As I am sure you have gathered I have no idea what may be happening but at least you now know that it isn't something unique to you...
It's just an observation and very likely just a coincidence but of the three distros I tried Ubuntu was the only one where I had to install libfuse2 to allow Joplin to work.
I should note that this issue has been lingering for a long time for me (I am pretty sure since at least GNOME version 42 (Fedora 36)). I just didn't report it because ... I was being lazy and didn't use the feature all that often. Kinda like the "Save as" file manager always opening below the Joplin window when I do exports to PDF and similar. Annoying, but doesn't wreck my workflow.
I am another user like yourself but if the logs are not showing anything and there is nothing that can be pointed to in Joplin that needs looking at or fixing, I am not sure what can be expected.
At this time it does not appear to be able to determine whether this is being caused by GNOME, the AppImage, Electron, Joplin, a combination of them, or something else...