karbazol / far-drag-n-drop-plugin

Far Manager plug-in to allow drag and drop operations between Far and other apps
5 stars 1 forks source link

Drag and drop into FAR window #23

Open stuntsman opened 4 years ago

stuntsman commented 4 years ago

Does the plugin support drag-and-dropping into Far panels from outside? I was able to use it to drag files from Far panel to a folder in Windows Explorer but it didn't work backwards (running Far 3.0.0.5577 and drgndrop_3.0.84.4700.7z)

karbazol commented 4 years ago

Hi. The plug-in is intended to provide a two-way drag & drop. If dropping to Far does not work it is definitely a bug. Do you run 32-bit Far on 64-bit system?

stuntsman commented 4 years ago

I've just figured it out!

To also answer your question I'm running the 32 bit Far on Windows 8.1, and I have UAC turned on which looks to be imporant in this case.

The Far shortcut was set to Run as administrator, and because of this I couldn't drag files into Far from regular (non admin) windows. It look like an issue/consequence of the Windows security model.

After finding that out it was easy to find similar explanations:

https://superuser.com/questions/59051/drag-and-drop-file-into-application-under-run-as-administrator

There are some workarounds that I've found, however none of them is perfect:

From a user's perspective it "looks like" a plugin bug, as there are no UAC dialogs or other user facing UI hints to show that drag and drop won't work (even the cursor is a dragging cursor, it doesn't change to a disabled cursor like it does for disabled drop targets).

If you could improve the plugin to support this usecase somehow that'd be great (if it's possible at all).