Issues concerning drag&drop file operations (again...)

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 strongly 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, and we won't have to search for that vital information.

: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:
Post Reply
Creat
Posts: 234
Joined: 22 Sep 2005 18:27

Issues concerning drag&drop file operations (again...)

Post by Creat »

Hello again!

First I wanted to mention that I finally made good on my promise to buy XYplorer (I know it's been a while since I promised, but you do deserve it :) )

Now to the bugs (in all cases it doesn't matter if the copy dialog is modeless or not, and of course I'm using the latest beta [5.00.0000]):

(1) When I drag&drop MP3 files into WinAmp (which is quite often) the files are deselected (except the one I 'grabbed' for the d&d operation). It also used to visibly refresh the folder, but that seems to be fixed now.

(2) A while back you enabled multiple file operations (like copy or move).
Unfortunately even though I can have multiple file operations, there is still only one actually doing anything (the mose recent one). So if I start copying files from a network location and then try to get files from one hard disk to another, the network copy just freezes at the current position until the local copy is done or aborted. The animation keeps going though.

(3) While a file operation is in progress most shortcuts won't work (examples include F12 to show/hide info panel, Ctrl-F to show info panel with file search focused, Ctrl-T to open a new tab.... I think it's probably just all shortcuts ;). Of course I have the main window focused, not the copy dialoge :P

(4) When I have a selection of files and the contents of the directory changes (for example because a file operation moving a file to a different drive just completed) the selection is lost. Interestingly enough this only happens when the "Autorefresh on filesystem changes"-option is OFF [or the "Include Network Locations" if the current folder is on a remote machine].

(5) [not sure if this is a bug or just not implemented, but while I'm at it :twisted:]
When I rightclick-drag a file to some external location, like the desktop I don't get the option of creating a shortcut (like explorer does). I assume it's intentional or out of necessity that the 'customized popup' is much shorter than the internal one with all those wonderful options like "copy as..." and so on. Still, the shortcut thing would be nice :)

If you need any more information just let me know :)

bye
Creat

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

Re: Issues concerning drag&drop file operations (again..

Post by admin »

Thanks for the purchase! :D
Creat wrote:(1) When I drag&drop MP3 files into WinAmp (which is quite often) the files are deselected (except the one I 'grabbed' for the d&d operation). It also used to visibly refresh the folder, but that seems to be fixed now.
Oh yeah, thanks. Fixed.
Creat wrote:(2) A while back you enabled multiple file operations (like copy or move).
Unfortunately even though I can have multiple file operations, there is still only one actually doing anything (the mose recent one). So if I start copying files from a network location and then try to get files from one hard disk to another, the network copy just freezes at the current position until the local copy is done or aborted. The animation keeps going though.
Yes, I noted that, too. Apparently they are all using the same thread. I did a research but did not find a way to change that. I keep it in the back of my head...
Creat wrote:(3) While a file operation is in progress most shortcuts won't work (examples include F12 to show/hide info panel, Ctrl-F to show info panel with file search focused, Ctrl-T to open a new tab.... I think it's probably just all shortcuts ;). Of course I have the main window focused, not the copy dialoge :P
Yes. Apparently all menu shortcuts handled internally by VB are disabled while the file operation is going on. Shortcuts handled by me (e.g. ALT+Arrows) do work if the window is the foreground window. I'm not aware of a fix.
Creat wrote:(4) When I have a selection of files and the contents of the directory changes (for example because a file operation moving a file to a different drive just completed) the selection is lost. Interestingly enough this only happens when the "Autorefresh on filesystem changes"-option is OFF [or the "Include Network Locations" if the current folder is on a remote machine].
Fixed.
Creat wrote:(5) [not sure if this is a bug or just not implemented, but while I'm at it :twisted:]
When I rightclick-drag a file to some external location, like the desktop I don't get the option of creating a shortcut (like explorer does). I assume it's intentional or out of necessity that the 'customized popup' is much shorter than the internal one with all those wonderful options like "copy as..." and so on. Still, the shortcut thing would be nice :)
I know. The missing 'Create Shortcut(s) Here' option is a total mystery to me since years. Regularly researching but never found an answer. Other developers are looking for one, too...
BTW: The popup is controlled by the dragged-over app so I cannot use my 'customized popup'.

Creat
Posts: 234
Joined: 22 Sep 2005 18:27

Re: Issues concerning drag&drop file operations (again..

Post by Creat »

admin wrote:
Creat wrote:(2) A while back you enabled multiple file operations (like copy or move).
Unfortunately even though I can have multiple file operations, there is still only one actually doing anything (the mose recent one). So if I start copying files from a network location and then try to get files from one hard disk to another, the network copy just freezes at the current position until the local copy is done or aborted. The animation keeps going though.
Yes, I noted that, too. Apparently they are all using the same thread. I did a research but did not find a way to change that. I keep it in the back of my head...
Creat wrote:(3) While a file operation is in progress most shortcuts won't work (examples include F12 to show/hide info panel, Ctrl-F to show info panel with file search focused, Ctrl-T to open a new tab.... I think it's probably just all shortcuts ;). Of course I have the main window focused, not the copy dialoge :P
Yes. Apparently all menu shortcuts handled internally by VB are disabled while the file operation is going on. Shortcuts handled by me (e.g. ALT+Arrows) do work if the window is the foreground window. I'm not aware of a fix.
Those two can probably be fixed by just launching the file operation from a different (worker) thread, created solely for this purpose. It can terminate as soon as the fole operation is done. If it's as simple to start a worker thread in VB (haven't used that in many many years) as it is in MFC-C++, this would add just a few lines of code (at least if just wrapping the file op call in the then called worker thread function does it).
admin wrote: BTW: The popup is controlled by the dragged-over app so I cannot use my 'customized popup'.
yea, I was afraid of that...

Thanx for the quick fixes!
Creat

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

Re: Issues concerning drag&drop file operations (again..

Post by admin »

Creat wrote:... Those two can probably be fixed by just launching the file operation from a different (worker) thread, created solely for this purpose. It can terminate as soon as the fole operation is done. If it's as simple to start a worker thread in VB (haven't used that in many many years) as it is in MFC-C++, this would add just a few lines of code (at least if just wrapping the file op call in the then called worker thread function does it).
No it is not that simple. It's more like the most difficult thing you can try in VB :wink:

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

Re: Issues concerning drag&drop file operations (again..

Post by pissant »

Creat wrote:When I rightclick-drag a file to some external location, like the desktop I don't get the option of creating a shortcut (like explorer does).
This happens with directories, too, not just files. I'm mentioning this not for the XYplorer author (who I am sure knows already), but anyone else who might consider reporting this.

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

Re: Issues concerning drag&drop file operations (again..

Post by admin »

pissant wrote:
Creat wrote:When I rightclick-drag a file to some external location, like the desktop I don't get the option of creating a shortcut (like explorer does).
This happens with directories, too, not just files. I'm mentioning this not for the XYplorer author (who I am sure knows already), but anyone else who might consider reporting this.
Yep. I know. I repeat myself: The missing 'Create Shortcut(s) Here' option is a total mystery to me since years. Regular researches never brought up an answer.

Post Reply