Page 2 of 3

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-13, 02:17 UTC
by Usher
I know it, but Space is too far from Delete for me, as I have already remarked.

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-13, 15:35 UTC
by shawn
Hacker wrote: 2019-11-12, 23:12 UTC shawn,
Not confirmed with the above mentioned steps, neither in TC 7.50b4 32-bit nor in 64-bit.
Windows 10 x64, clean INI.

Roman
Older versions are fine. I tested in 7.56, 8.51, all good.

petermad wrote: 2019-11-12, 23:48 UTC I connot reproduce this either.

Testet in TC 9.5b4 32bit and 64bit under Windows 7 and 10 1903 with fresh ini files.
I haven't tested with the beta version. I only found this bug in 9.22a

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-13, 15:45 UTC
by petermad
petermad wrote: ↑
Wednesday 13-11-2019, 00:48:23
I connot reproduce this either.

Testet in TC 9.5b4 32bit and 64bit under Windows 7 and 10 1903 with fresh ini files.

I haven't tested with the beta version. I only found this bug in 9.22a
I cannot reproduce it in TC 9.22a 32- or 64bit either (Windows 7)

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-13, 23:17 UTC
by Hacker
shawn,
Older versions are fine. I tested in 7.56, 8.51, all good.
Sorry, I meant 9.50b4 :)

Roman

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-14, 03:41 UTC
by shawn
I have recorded the bug and posted on youtube. Please take a look, it's about 30 seconds.
https://youtu.be/8Ob6S0rmHcg

Also, I have tested it with 9.50B5 X64 version, the bug exist. I also tested with Windows server 2019, same bug. So this bug exist 9.22a to 9.50B5, doesn't matter 32bit or 64bit, doesn't matter what Windows version.

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-14, 12:01 UTC
by petermad
2shawn
I can confirm the bug now - seeing your video made me realize that the dialog in the warning is different when deleting to Recycle bin or not.
---------------------------
Total Commander
---------------------------
Do you really want to move the 2 selected files/directories to the recycle bin?
---------------------------
Permanently delete
---------------------------
Do you really want to delete the 2 selected files/directories?

I had the Recycle bin disabled systemwise for my testdrive, which TC detects and shows me the second dialog text, despite "F8/Del delete to recycle bin (shift=directly)" being enabled.

When I moved my testdir to a drive whis enabled Recycle bin I could reproduce the bug.

The bug also appears if I have enabled Windows' warning about deleting to Recycle bin, so it is Windows' warning dialog that is shown instead of TC's.

The bug does not appear if I set VistaDelete=0 in my wincmd.ini file - making TC delete to Recycle bin the old way.

So it is not the setting of "F8/Del delete to recycle bin (shift=directly)" per se that matters, but whether TC actually attemt to delete to Recycle bin AND is using the VistaDelete method.

So in order to see the bug there are 3 requirements.
1. Recycle bin has to be enabled by Windows for the current drive.
2. "F8/Del delete to recycle bin (shift=directly)" has to be enabled
3. VistaDelete has to not be set to 0

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-14, 13:55 UTC
by shawn
Thank you petermad for confirming this bug!
I will set VistaDelete = 0 for now as a walk around.

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-14, 18:43 UTC
by Usher
petermad wrote: 2019-11-14, 12:01 UTC So it is not the setting of "F8/Del delete to recycle bin (shift=directly)" per se that matters, but whether TC actually attemt to delete to Recycle bin AND is using the VistaDelete method.
So how do you explain my strange results in Windows XP? Was it delusion only?

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-15, 00:40 UTC
by petermad
2Usher
Obviously VistaDelete has no effect in Windows XP. And I cannot reproduce the bug when I test in Windows XP either.

Windows delete warning is not shown when deleting in TC - as it is in Windows 7 - 10.

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-20, 17:36 UTC
by shawn
So this bug is confirmed. Does that mean it will hopefully be fixed in the new version?
I am thinking about rolling back to version 8.51, because the "fix", setting VistaDelete = 0, doesn't work for "Explorer delete method", and I need it to bypass the delete confirmation dialog window.

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-11-20, 17:40 UTC
by ghisler(Author)
Sorry, I haven't had the time yet to check this.

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2019-12-03, 17:15 UTC
by shawn
I rollback to version 8.51. However, with "Use Explorer delete method", this bug still exists. sigh...

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2020-01-20, 12:57 UTC
by DrShark
ghisler(Author) wrote: 2019-11-20, 17:40 UTC Sorry, I haven't had the time yet to check this.
I asked Christian Ghisler by email to check it, and the answer confirms earlier guess:
Christian Ghisler wrote:This cannot be fixed. VistaDelete passes a list of files to the Windows delete to recycle bin function, and doesn't give feedback which files could be deleted and which were skipped.
Does Windows delete to recycle bin function at least inform TC when deletion is finished? Maybe then TC could compare what were passed to it and what were skipped itself?

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2020-01-20, 13:47 UTC
by shawn
DrShark wrote: 2020-01-20, 12:57 UTC I asked Christian Ghisler by email to check it, and the answer confirms earlier guess
So this bug cannot be fixed? :(
I believe the old version 7.56 and earlier didn't have this bug.

Re: after deleting multiple files, cursor doesn't move to the next file

Posted: 2020-01-20, 15:33 UTC
by ghisler(Author)
The old versions didn't use the VistaDelete method but sent each file separately to recycle bin, which was terribly slow with many files.