Drag/drop from multiple directories gives error

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

When I search with XYplorer, then select multiple files and Copy from the shell menu, I get an error even when trying to Paste into an Explorer window.

When I search with Explorer and do the same thing (and paste in Explorer), it works.

When I search with FileLocator Pro and do the same thing (and paste in Explorer), it works.

It is only when I search and copy with XYplorer that the paste doesn't work...

Are you saying that Explorer does some "trick" on the copy, not on the paste? This must be what you mean...

The reason I don't use the custom drag/drop menu is that the "Create shortcut(s) here" option is a pain to use that way.

pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

I must be correct about the error occuring during copy to clipboard... When I use XY to search for these two files, and then right click them and select Copy from the context menu:

C:\Temp\test1\test1.txt
C:\Temp\test2\test2.txt

...and then I use a special utility to look at the clipboard contents, this is what appears:

C:\Temp\test2\test2.txt
C:\Temp\test2\test1.txt

When I search and copy-to-clipboard with FileLocator Pro, the correct files appear:

C:\Temp\test1\test1.txt
C:\Temp\test2\test2.txt

Not to be devil's advocate or (an intentional) pain in the ass, but why can FileLocator Pro do the copy correctly, but not XY?
Last edited by pissant on 24 Sep 2006 19:51, edited 1 time in total.

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

Post by jacky »

admin wrote:it's a shell bug. Proof
You know what, I hear you but yet I'm not convinced. :P

As pissant & I said, the problem is that all files are "reported" to be in the same folder, while they're not.

Yes, your copy/paste example shows a problem. But I beleive the Explorer-secret-trick is probably something like this: our copy for d&d and copy/paste is buggy, and only handles items to all be in the same folder. So if there not, we don't go the usual (shell) way but handle the thing "manually".

What makes me say that is this: yes, your copy/paste example shows how it does not work. Now do it again :
- get files in different folders on search results
- Ctrl+P to copy their paths/names
- List Management, Clipboard, Editor Mode, and paste them here
- Go somewhere, right-click & Paste.
- tada! it works! :) Files from different locations were copy/paste'd and using (part of) the shell feature!

So I'm guessing it's their copy command that is buggy, and you should handle the copy itself when multiple locations are in play. And this is probably the same for drag&drop: you gotta do something yourself and not let the system handle it, cause system is buggy...
Proud XYplorer Fanatic

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

Post by admin »

pissant wrote:Not to be devil's advocate or (an intentional) pain in the ass, but why can FileLocator Pro do the copy correctly, but not XY?
No problem. But as I said before: it's not XY getting it wrong but the shell. It's no problem at all for XY to copy correctly. Proof: use Ctrl+C (that's XY code running and not shell) and all works well.

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

Post by admin »

jacky wrote:
admin wrote:it's a shell bug. Proof
You know what, I hear you but yet I'm not convinced. :P

As pissant & I said, the problem is that all files are "reported" to be in the same folder, while they're not.

Yes, your copy/paste example shows a problem. But I beleive the Explorer-secret-trick is probably something like this: our copy for d&d and copy/paste is buggy, and only handles items to all be in the same folder. So if there not, we don't go the usual (shell) way but handle the thing "manually".

What makes me say that is this: yes, your copy/paste example shows how it does not work. Now do it again :
- get files in different folders on search results
- Ctrl+P to copy their paths/names
- List Management, Clipboard, Editor Mode, and paste them here
- Go somewhere, right-click & Paste.
- tada! it works! :) Files from different locations were copy/paste'd and using (part of) the shell feature!

So I'm guessing it's their copy command that is buggy, and you should handle the copy itself when multiple locations are in play. And this is probably the same for drag&drop: you gotta do something yourself and not let the system handle it, cause system is buggy...
Nothing new, jacky. Just what i said before: The shell *copy* can't handle files from multiple dirs.

And yes, I can do what you suggest: catch the job before the shell takes over and do it myself. I will do that for the normal context menu. I have done it already for the drag&drop context menu. However, if pissant insists to use the Shell drag&drop context menu... can't fix anything there.

pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

My point was: When multiple files from different dirs are right clicked, and the Copy context menu is selected, something different happens in XYplorer than happens in FileLocator Pro. Maybe the shell is screwing it up, but why does it screw it up for XY and not FLP?

Edit: I just installed PowerDesk Pro 6 and used its FileFinder applet to select multiple files, followed by a context menu Copy and a context menu Paste into PowerDesk Pro. It works fine. Again, the same thing, done in XYplorer, gives the error.

If it was an insurmountable problem where the shell just wouldn't cooperate with any third-party software, none of the above would be true.
Last edited by pissant on 25 Sep 2006 02:20, edited 1 time in total.

pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

admin wrote:And yes, I can do what you suggest: catch the job before the shell takes over and do it myself. I will do that for the normal context menu. I have done it already for the drag&drop context menu. However, if pissant insists to use the Shell drag&drop context menu... can't fix anything there.
What if I want to use the shell's Copy context menu item after doing a search? This works correctly everywhere but in XY.

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

Post by jacky »

admin wrote:And yes, I can do what you suggest: catch the job before the shell takes over and do it myself. I will do that for the normal context menu. I have done it already for the drag&drop context menu. However, if pissant insists to use the Shell drag&drop context menu... can't fix anything there.
hmm.. ok, I beleive you, especially as I have no idea how this shell ctxt menu thing is handled at all ;)
I just thought that, since it can be done, and can even be done from XY to Explorer, maybe it was "just" like with clipboard, as is you could manually set the list or something and "by-pass" the system so it would work ;)

@pissant: Just a reminder, you know that using XY custom menu on right d&d you could use copy and move without any problems here, besides having a bunch of other extra cool features ;)
Proud XYplorer Fanatic

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

Post by admin »

pissant wrote:The reason I don't use the custom drag/drop menu is that the "Create shortcut(s) here" option is a pain to use that way.
Explain, please.

Because you keep on asking me to somehow work around a shell issue (as the other programs you are citing do) and when I offer you my workaround (the "Custom drag&drop context menu") you don't want it. :?

pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

admin wrote:
pissant wrote:The reason I don't use the custom drag/drop menu is that the "Create shortcut(s) here" option is a pain to use that way.
Explain, please.
When you d&d and want to create a shortcut, you have to open the "Shell context menu..." first, before accessing the "Create shortcuts here" menu item. This is inconvenient, but I'll learn to live with it.

Actually, I was also thinking that the "Create shortcuts here" menu item didn't work at all under certain circumstances in XY, but I had forgotten the nature of the problem--it occurs when you d&d file(s) from XY to Explorer. (In that case, no "Create shortcuts here" menu item appears at all.) Obviously, this has nothing to do with using the custom shell menu.

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

Post by admin »

pissant wrote:
admin wrote:
pissant wrote:The reason I don't use the custom drag/drop menu is that the "Create shortcut(s) here" option is a pain to use that way.
Explain, please.
When you d&d and want to create a shortcut, you have to open the "Shell context menu..." first, before accessing the "Create shortcuts here" menu item. This is inconvenient, but I'll learn to live with it.

Actually, I was also thinking that the "Create shortcuts here" menu item didn't work at all under certain circumstances in XY, but I had forgotten the nature of the problem--it occurs when you d&d file(s) from XY to Explorer. (In that case, no "Create shortcuts here" menu item appears at all.) Obviously, this has nothing to do with using the custom shell menu.
The "Create shortcut(s) here" in XY's custom drag/drop menu works absolutely perfect and 100% identical to the one in the Shell context menu. With one exception: XY's version can deal with files from different folders. So if that was your only reason...

pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

I didn't even see the "Create shortcuts here" in the custom menu. Sorry. Never really used it before.

If I'm being honest, I like the shell menu because it's small, and contains only functions I actually use. I have no idea what the multitude of functions on the XY menu do...

To continue be honest, I was also hoping XY would work with the shell to relieve me of having to constantly keep in mind the things that I can't do with XY... As it is, I have to always remember "Don't drag a file from Thunderbird to XY... Open Explorer for that..." and "Don't drag a file to that Explorer window to create a shortcut... Won't work... Open the folder in XY first..." and "Don't use the Copy context menu item if you've done a search and selected multiple files..." and there are one or two other things I'm sure.

I wasn't really asking for you to do anything. I was just confused as to why those other applications would seem to work in cases where XY didn't. Sorry for the aggravation.

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

Post by admin »

pissant wrote:I didn't even see the "Create shortcuts here" in the custom menu. Sorry. Never really used it before.

If I'm being honest, I like the shell menu because it's small, and contains only functions I actually use. I have no idea what the multitude of functions on the XY menu do...

To continue be honest, I was also hoping XY would work with the shell to relieve me of having to constantly keep in mind the things that I can't do with XY... As it is, I have to always remember "Don't drag a file from Thunderbird to XY... Open Explorer for that..." and "Don't drag a file to that Explorer window to create a shortcut... Won't work... Open the folder in XY first..." and "Don't use the Copy context menu item if you've done a search and selected multiple files..." and there are one or two other things I'm sure.

I wasn't really asking for you to do anything. I was just confused as to why those other applications would seem to work in cases where XY didn't. Sorry for the aggravation.
No problem at all!

You are mentioning some known and admitted issues.
1. Dragging attachments from Thunderbird to XY does not work. I have not had the time yet to look after this.
2. When dragging stuff from XY to Explorer the "Create shortcuts here" item/functionality is missing. I have spent a lot of time looking after this, but could not find a solution yet. The day will come though.
3. The Copy command in selected items context menu: I will overwrite that today with XY internal functions, so this issue is history. (BTW, Ctrl+C is a good alternative to keep you going until the next release :wink: ).

pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

Thank you very much for having such a good attitude. I've practically received death threats from other devs (and their mindless fans) for daring to speak critically about their software. I never mean to offend, and your attitude is extremely welcome. :)

Post Reply