Can’t drag and drop files from SMB/CIFS shares from Nemo to open applications
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- linux
- Domain
- desktop, networking
Research direction
Start by reproducing the drag-and-drop failure from a Nemo SMB/CIFS share, then compare the drag data and resulting path with Thunar and Nemo's working “Open With” behavior. Trace whether the virtual GVFS location is provided to the target application; done when the listed applications open the remote media file through drag and drop without breaking local-file behavior.
Written by the indexing model from the issue text.
Description
* Nemo version 3.8.5
* Windowed Nemo file manager
* Mint 19 Cinnamon, Manjaro 17.1.11.1 Cinnamon (Community Edition)
* Graphics hardware: Intel HD530, default driver
* 64 bit
Issue
It seems I cannot drag/drop a file from a CIFS share via Samba in Nemo to certain previously opened applications. VLC is one such application that fails (included w/Mint and Manjaro), but other applications I have found issues with include SMPlayer, Mediainfo-gui, MKVToolnix-gui, and Audacity in Manjaro and Mint. VLC and SMPlayer are somewhat nice because they spit out an error, the others just fail silent.
Steps to reproduce
Install Mint 19 Cinnamon or Manjaro 17.1.11.1 Cinnamon (Community Addition)
Optional: Install SMPlayer, Mediainfo-gui, MKVToolnix-gui, and/or Audacity
Open VLC or other listed application.
Open Nemo
Open an SMB/CIFS share in Nemo (smb://…)
Drag a video file from the share to the previously opened VLC window
Expected behaviour
The video should play
Actual behaviour
VLC reports an error
Your input can't be opened:
VLC is unable to open the MRL 'smb://192.168.1.210/media/TV%20Shows/TV%20Shows/Allo%20Allo%20(1982)/Season%2001/Allo%20Allo%20s01e01-The%20British%20Are%20Coming.DVD.mkv'. Check the log for details.
I'm not sure where the VLC log is to look at it.
SMPlayer reports a similar error:
“Oops, something went wrong” dialog box with an exit code of 2`
It's log reports:
Playing: smb://marvin/media/TV Shows/TV Shows/Allo Allo (1982)/Season 01/Allo Allo s01e01-The British Are Coming.DVD.mkv
Using netbios name MANJARO-PC.
Using workgroup WORKGROUP.
gensec_spnego_client_negTokenTarg_step: SPNEGO(ntlmssp) login failed: NT_STATUS_WRONG_CREDENTIAL_HANDLE
[smb] Could not open from LAN: 'smb://marvin/media/TV Shows/TV Shows/Allo Allo (1982)/Season 01/Allo Allo s01e01-The British Are Coming.DVD.mkv'
Failed to open smb://marvin/media/TV Shows/TV Shows/Allo Allo (1982)/Season 01/Allo Allo s01e01-The British Are Coming.DVD.mkv.
Exiting... (Errors when loading file)
Other apps listed above simply do nothing.
Other information
Not all applications are impacted. For example, I can drag/drop a TXT file to an open instance of LibreOffice Writer, Text Editor, or Xed and it opens. I can also drag the same media file above to Mint's Media Player and it plays. It's just certain applications that do not behave as expected.
Right clicking a file and using “Open With > VLC" (or Open With > SMPlayer) works. In this case SMPlayer logs that it is playing “/run/user/1000/gvfs/smb-share:server=marvin,share=media/TV Shows/TV Shows/Allo Allo (1982)/Season 01/Allo Allo s01e01-The British Are Coming.DVD.mkv". It appears Nemo isn't providing the virtual gvfs location with drag and drop files. Why drag/drop succeeds on some apps but not others isn’t clear to me.
Also, if Thunar is installed and opened on the Cinnamon desktop drag and drop to all these applications works as expected.
- Dominant language
- C
- Stars
- 1.6k
- Forks
- 368
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/nemo
-
Desktop rename box: white text on a hardcoded white gradient with any dark theme (also black caret) Open
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100