Drag and drop files

Off-topic posts of interest to the "Everything" community.
Post Reply
NotNull
Posts: 1595
Joined: Wed May 24, 2017 9:22 pm

Drag and drop files

Post by NotNull » Mon Oct 07, 2019 11:02 pm

The file manager I use the most - Q-Dir - does not function as a drop target when Everything is the source.
That is hardly Everything's fault; Q-Dir has trouble with multiple file managers (see screenshot)

Before reporting this issue with it's developer, I would like to know what API / method / ... Everything uses for dragging files.
That way it would be much easier to find a solution (at least that is what I hope).


2019-10-08 01_00_21-dragdrop.ods - LibreOffice Calc.png
You do not have the required permissions to view the files attached to this post.

void
Site Admin
Posts: 4972
Joined: Fri Oct 16, 2009 11:31 pm

Re: Drag and drop files

Post by void » Mon Oct 07, 2019 11:11 pm

Everything uses the IDropSource interface.

Everything implements its own IDropSource interface.
An IDataObject is created with CF_HDROP data of all the source files and folders.
DoDragDrop is called to begin the drag drop operation.
The default IDragSourceHelper is used to create the drag image.

NotNull
Posts: 1595
Joined: Wed May 24, 2017 9:22 pm

Re: Drag and drop files

Post by NotNull » Mon Oct 07, 2019 11:38 pm

Thank you !!!

therube
Posts: 2364
Joined: Thu Sep 03, 2009 6:48 pm

Re: Drag and drop files

Post by therube » Mon Oct 14, 2019 3:37 pm

(Does Q-Dir author actually make substantive changes [or even evolutionary changes] to [any of] his programs?
[I don't pay too much attention but] generally all I see are bug fixes, typically for things broken by Win10 "feature" updates.)

NotNull
Posts: 1595
Joined: Wed May 24, 2017 9:22 pm

Re: Drag and drop files

Post by NotNull » Mon Oct 14, 2019 6:22 pm

The author is very active, but his communication and the website are quite - let's call it - unstructured ( that's the moment when you realize that we, the Everything community, are terribly spoiled :))

Every week or so there is an update for Q-Dir. Most with a cryptic description "general improvements".
I posted quite a few suggestions and the ones that were honored (thus far) also ended up as "general improvements"
That is to say: the ones that I noticed; communication is minimal.


Semi on topic: I also suggested integrating Everything as he is experimenting with search functionality. Who knows what will happen in the future ...

And off topic: What happened to your Altap Salamander? :o

therube
Posts: 2364
Joined: Thu Sep 03, 2009 6:48 pm

Re: Drag and drop files

Post by therube » Mon Oct 14, 2019 6:52 pm

Nothing.
Except now free.
IOW (mostly) the same as it ever was.

Possible no future updates?
But here's hoping :-).

Doesn't change its' usefulness.

NotNull
Posts: 1595
Joined: Wed May 24, 2017 9:22 pm

Re: Drag and drop files

Post by NotNull » Mon Oct 14, 2019 7:09 pm

Ah, all right; I thought you were looking for a different file manager ...

NotNull
Posts: 1595
Joined: Wed May 24, 2017 9:22 pm

Re: Drag and drop files

Post by NotNull » Tue Nov 26, 2019 1:32 am

void wrote:
Mon Oct 07, 2019 11:11 pm
Everything uses the IDropSource interface.

Everything implements its own IDropSource interface.
An IDataObject is created with CF_HDROP data of all the source files and folders.
DoDragDrop is called to begin the drag drop operation.
The default IDragSourceHelper is used to create the drag image.
With the help of this info, Q-Dir is now fixed.
Thank you!

Post Reply