Drag and drop files

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

Drag and drop files

Post by NotNull »

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
2019-10-08 01_00_21-dragdrop.ods - LibreOffice Calc.png (19.84 KiB) Viewed 18117 times
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Drag and drop files

Post by void »

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: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Drag and drop files

Post by NotNull »

Thank you !!!
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: Drag and drop files

Post by therube »

(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: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Drag and drop files

Post by NotNull »

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: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: Drag and drop files

Post by therube »

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: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Drag and drop files

Post by NotNull »

Ah, all right; I thought you were looking for a different file manager ...
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Drag and drop files

Post by NotNull »

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