Drag-and-drop fails in snap package
Author: ExTechOpCreated Oct 26, 2025Updated Sep 5, 2026
The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first
- Try with the newest version from GitHub (also it might have already been fixed in latest nightly build)
- Read the documentation and FAQ, Known issues, Troubleshooting
- Search for your problem under Issues or Discussions
- This problem happens with all kinds of files that I try. For problem only with a particular file or type, use this other form instead
Operating System
Linux
Steps to reproduce
- Install losslesscut 3.64.0 (stable version) with snap to Fedora 42 (Adams)
- Start losslesscut
- The very first prompt that comes up in the main window is
DROP FILE(S) - Attempt to drag-and-drop any file from Caja 1.28.0-7 file manager
Expected behavior
File should open just as you'd opened it with File → Open…
Actual behavior
Popup Failed to open file, ENOENT: No such file or directory with a full correct-looking path to the file.
Could this perhaps be due to the snap sandbox or selinux? Going the normal File → Open… route works fine.
Note: embedded whitespace in the filename does not seem to make a difference, doesn't work with a filename without any whitespace either.
Share log from developer tools
/home/username/directory/filename with spaces.ts
util.ts:359 Failed to open file Error: ENOENT: no such file or directory, lstat '/home/username/directory/filename with spaces.ts'
withErrorHandling @ util.ts:359
await in withErrorHandling (async)
(anonymous) @ App.tsx:1675
onDrop @ App.tsx:2286
util.ts:319 handleError Failed to open file Error: ENOENT: no such file or directory, lstat '/home/username/directory/filename with spaces.ts'
handleError @ util.ts:319
withErrorHandling @ util.ts:360
await in withErrorHandling (async)
(anonymous) @ App.tsx:1675
onDrop @ App.tsx:2286
NowSource: mifi/lossless-cut