A drag-and-drop feature

Features wanted...
surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post by surrender »

admin wrote:
surrender wrote:Dragging file onto zip file doesnt work for me. I get an error "Shelldrop failed (IdrpTrgt Is Nothing)".

Update: The problem is only in the list, Drag&Drop in catalog works fine, i.e. opens zip program.
You have WinZip?
And you can drag on a ZIP file in catalog but not in list??? :?
Ok, i tested 7-zip and izarc and it doesnt work on list, but in winzip it works fine on both list and catalog.

admin
Site Admin
Posts: 64862
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

surrender wrote:
admin wrote:
surrender wrote:Dragging file onto zip file doesnt work for me. I get an error "Shelldrop failed (IdrpTrgt Is Nothing)".

Update: The problem is only in the list, Drag&Drop in catalog works fine, i.e. opens zip program.
You have WinZip?
And you can drag on a ZIP file in catalog but not in list??? :?
Ok, i tested 7-zip and izarc and it doesnt work on list, but in winzip it works fine on both list and catalog.
Ah, that matches what I have seen from the source code. :wink:

I'm currently just hard-coding some extensions (until I find a real fast way to find out drop targets programmatically). So which extensions are you missing as drop targets?

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

admin wrote:RAR does not support drop AFAIK. Don't know about 7z...
Well, I don't know about WinZIP, 7z or any others, since I use WinRAR (much better ;)) but WinRAR does suport the drop of files into RAR as well as it does into ZIP! (and others I'm sure)
admin wrote:The "the feature on blank area" was just a new bug... :wink:
Was it?? Cause it bugged me & I checked with an older version and... it used to work as described: no drop cursor on List, but if holding Ctrl we get to copy them.
So it was indeed a feature because all this, and I beleive it should be kept that way!
jacky wrote:You always can abort a drag operation by ESC.
Yeah, but IMHO it is not as good because it doesn't feel the same/as natural that way (so much I forget about it all the time), maybe also because it's a keyboard thing, while D&D is not...
admin wrote:
jacky wrote:... and allow the use of Shift to move files as well, would really be awesome! :)
Move? You mean add to a Zip and then delete?
Yes, kind of "move into the archive". I said move cause that's the usual term (at least I think) for D&D operation, copy or move, with the associated cursors.
Proud XYplorer Fanatic

admin
Site Admin
Posts: 64862
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:
admin wrote:RAR does not support drop AFAIK. Don't know about 7z...
Well, I don't know about WinZIP, 7z or any others, since I use WinRAR (much better ;)) but WinRAR does suport the drop of files into RAR as well as it does into ZIP! (and others I'm sure)
Yes, correct. You have to enable it in WinRAR's config.
admin wrote:The "the feature on blank area" was just a new bug... :wink:
Was it?? Cause it bugged me & I checked with an older version and... it used to work as described: no drop cursor on List, but if holding Ctrl we get to copy them.
So it was indeed a feature because all this, and I beleive it should be kept that way!
The bug is only 12 hours old. The next version will be as it always was.
jacky wrote:You always can abort a drag operation by ESC.
Yeah, but IMHO it is not as good because it doesn't feel the same/as natural that way (so much I forget about it all the time), maybe also because it's a keyboard thing, while D&D is not...
admin wrote:
jacky wrote:... and allow the use of Shift to move files as well, would really be awesome! :)
Move? You mean add to a Zip and then delete?
Yes, kind of "move into the archive". I said move cause that's the usual term (at least I think) for D&D operation, copy or move, with the associated cursors.
Okay, I did not know this was possible. Coming...

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post by surrender »

admin wrote:
surrender wrote:
admin wrote:
surrender wrote:Dragging file onto zip file doesnt work for me. I get an error "Shelldrop failed (IdrpTrgt Is Nothing)".

Update: The problem is only in the list, Drag&Drop in catalog works fine, i.e. opens zip program.
You have WinZip?
And you can drag on a ZIP file in catalog but not in list??? :?
Ok, i tested 7-zip and izarc and it doesnt work on list, but in winzip it works fine on both list and catalog.
Ah, that matches what I have seen from the source code. :wink:

I'm currently just hard-coding some extensions (until I find a real fast way to find out drop targets programmatically). So which extensions are you missing as drop targets?
So far I havent found any extension that works with this. If I find one i will update. But to be more specific all office extensions, wmv, mp3, pdf, flv, gif, jpg, txt, exe, pls dont work.

Edit to previous post: Well, actually even in the catalog it doesnt add file to zip, I D&D onto zip.exe file and it simply opens the zip program. D&D a file onto a zip file in catalog also gives similar error as described before.

admin
Site Admin
Posts: 64862
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

surrender wrote:So far I havent found any extension that works with this. If I find one i will update. But to be more specific all office extensions, wmv, mp3, pdf, flv, gif, jpg, txt, exe, pls dont work.
You know that you have to test this in Explorer, right?! In XY you have only drop on ZIP currently.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Well, just to add in this matter: depending on your archive/compression software all supported formats might allow drop on them. Besides that, I can only think of EXEs (launched with dropped as params, like the drop on Catalog for example)

But it will not be the same for everyone obviously, since it depends on the applications one has installed. (And I don't think it's needed to test everything, I mean, what would dropping files onto a DOC or XLS mean/do anyways? :roll:)
Proud XYplorer Fanatic

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post by surrender »

admin wrote:
surrender wrote:So far I havent found any extension that works with this. If I find one i will update. But to be more specific all office extensions, wmv, mp3, pdf, flv, gif, jpg, txt, exe, pls dont work.
You know that you have to test this in Explorer, right?! In XY you have only drop on ZIP currently.
Ok, so its a problem with 7-zip, because it doesnt work on explorer too. everything works fine with winzip. Seems like i have to use winzip if i have to take advantage of this feature.

admin
Site Admin
Posts: 64862
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:Well, just to add in this matter: depending on your archive/compression software all supported formats might allow drop on them. Besides that, I can only think of EXEs (launched with dropped as params, like the drop on Catalog for example)

But it will not be the same for everyone obviously, since it depends on the applications one has installed. (And I don't think it's needed to test everything, I mean, what would dropping files onto a DOC or XLS mean/do anyways? :roll:)
Yes, I know. I just want to save some time by avoiding to check every file type in the world for droppability. I know how to do this test, but as every work it takes a little time. And like you, I cannot think of anything apart from executables and archives (and links to them) that would support a drop.
What happens after the drop is totally in the hand of the Shell, and ultimately depends on the drop handler the respective application has installed.

Post Reply