Bug 472202 - Unable to drag-and-drop media from SMB shares to web browser for posting on social media (Twitter, Gab, Reddit, etc.)
Summary: Unable to drag-and-drop media from SMB shares to web browser for posting on s...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.04.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on: 429067
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-12 20:38 UTC by volkischexe
Modified: 2024-02-20 11:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description volkischexe 2023-07-12 20:38:55 UTC
SUMMARY
***
I use a Windows Server network share (SMB) for pretty much all my projects and media. I can't drag-and-drop files from my network share to my web browser for posting on social media sites - in other words, the drag-and-drop functionality of sites like Twitter, Reddit, and Gab.

If I copy a file to my local disk, I can upload/attach just fine.
***


STEPS TO REPRODUCE
1. Connect to SMB share from the address bar or "Add Network Folder" button
2. Open your favorite social media site - I've tested Twitter, Reddit, and Gab
3. Make a new post and drag-and-drop supported media (photos or videos)

OBSERVED RESULT
Nothing happens. It's as if no drag-and-drop attempt was made.

EXPECTED RESULT
Upload/attach media per normal behavior for the given social media site.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.4.2-arch1-1 (64-bit)
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Comment 1 mvr 2023-12-14 13:43:58 UTC
I can confirm that this bug also exist on Opensuse Leap 15.5, Tumbleweed and Kubuntu 23.10.
In addition to smb shares, Dolphin also fails to drop from ssh (fish://) directory to web browser (Firefox, Chromium, Chrome).
I tested this behavior with the web app Moodle.
Comment 2 volkischexe 2023-12-14 17:07:13 UTC
I discovered last night that this same problem occurs when trying to drag-and-drop music from an SMB share into the Elisa music player.

I have found a somewhat kludgy workaround for those affected:

1. Install Visual Studio Code
2. Right-click on the folder you're trying to drag-and-drop from and select "open with vscode"
3. VSCode will automatically map the SMB share to a dynamic directory location (so you can't bookmark it, unfortunately), which you can then use with any application that doesn't support the new network drive mounting standard.
Comment 3 nairboon 2024-02-20 11:23:56 UTC
Probably caused by the smb/sftp URL that is passed on instead of the local path as described in bug #429067