Collision icon indicating copy to clipboard operation
Collision copied to clipboard

Drag N Drop

Open Doomsdayrs opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. I opened this application to quickly do a hash gen. I took the file, and did a DnD from the File Manager. I noticed, it did not load :cry:

Describe the solution you'd like Support DnD to hash a file

Doomsdayrs avatar Mar 09 '22 03:03 Doomsdayrs

Thanks for raising this issue!

Currently there's a blocking issue, as far as I'm aware, that prevents me from adding DnD again. While there's a portal for it, it hasn't been backported to GTK3 yet and since Nautilus(/ GNOME Files) is still GTK3 (on the majority of distros at least), DnD will not work.

I'll give it another try when I get the time to, but for now I'll mark it as stalled.

GeopJr avatar Mar 09 '22 08:03 GeopJr

DnD is already fixed in GTK 4.8.1 and since Nautilus 43 will also be in GTK4, there should be no blockers left.

oscfdezdz avatar Sep 16 '22 22:09 oscfdezdz

Thanks for letting me know! I'll get on this as soon as possible!

GeopJr avatar Sep 17 '22 01:09 GeopJr

Nautilus v43.0 and still no Drag'n'drop! :cry: image

Also, could it be possible to add an option directly in the nautilus right-click menu?

DodoLeDev avatar Nov 01 '22 16:11 DodoLeDev

Sorry about the wait, there's currently an issue with drag-n-drop and the portal so it has to stay as a draft until it gets fixed.

Also, could it be possible to add an option directly in the nautilus right-click menu?

No, I don't think that's possible to do without an extension.

What I can do however is upstream some of the changes in the drag-n-drop PR and add Collision in the "Open With..." context entry:

Recording of a GNOME desktop with the Files app open. There's a file named test.txt. User right clicks it and selects the open with context entry. Afterwards, a popup to select the app to open it with shows up. User selects Collision. Then the Collision up shows up with that file's hashes.

GeopJr avatar Nov 01 '22 19:11 GeopJr