[9.0a] Unstoppable space calculation before deletion

Please report only one bug per message!

Moderators: Hacker, Stefan2, white, sheep

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8107
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

[9.0a] Unstoppable space calculation before deletion

Post by *MVV » 2016-12-26, 10:19 UTC

When I press Shift+Del on some folder, TC enumerates inner files/folders for second progress bar before displaying delete confirmation, and Escape allows breaking this process. But Escape or Cancel button in progress dialog don't work in latest TC version, so I had to kill TC when I've tried to delete a dir with 730k files because it was impossible to stop calculation.

Bug detected in TC 9.0a x32/64, tested with clean INI too; older versions since TC 9.0b15 have this bug too, however TC 9.0b12 doesn't have it.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36354
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2016-12-29, 10:33 UTC

Not confirmed, ESC works fine here. Tested with both TC 32-bit and 64-bit.
Author of Total Commander
http://www.ghisler.com

User avatar
MVV
Power Member
Power Member
Posts: 8107
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2016-12-29, 10:57 UTC

Sorry, I wasn't absolutely correct, I was talking about second confirmation (remove non-empty dir confirmation) and overall delete process: while TC calculates files, delete process can't be cancelled with both Escape and Cancel buttons.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36354
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-01-02, 11:17 UTC

Sorry, I probably still don't understand your report. You still say that "while TC calculates files, delete process can't be cancelled", but I have no problems to do exactly that.

Can you give me more detailed instructions, please?
Author of Total Commander
http://www.ghisler.com

User avatar
MVV
Power Member
Power Member
Posts: 8107
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2017-01-02, 19:11 UTC

You can e.g. try to Shift+Delete Windows directory: while TC calculates files, Cancel button does nothing (I can press it multiple times with no result), and process may only be aborted when calculation is finished.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36354
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-01-05, 11:33 UTC

Hmm, ESC works immediately here. I need to press "Cancel" twice, though, to cancel the operation.
Author of Total Commander
http://www.ghisler.com

User avatar
MVV
Power Member
Power Member
Posts: 8107
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2017-01-05, 17:31 UTC

Strange that it works fine for you because I can reproduce it at any time with clean INI in TC 9 (Escape does nothing until TC calculates files) and it works fine in TC 8 (Escape cancels calculation immediately).

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36354
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-01-09, 17:11 UTC

Sorry, no luck so far.
Author of Total Commander
http://www.ghisler.com

Evds
Junior Member
Junior Member
Posts: 76
Joined: 2009-06-10, 11:09 UTC

Post by *Evds » 2017-06-30, 17:48 UTC

I had the same problem.

A directory with lots of subdirs and files on a network drive.
I press shift+del. Tcmd asks whether I want to delete that directory. I press yes. Tcmd shows a dialog with "seeking" and starts counting those files.

When i press "Cancel" tcmd doesn't stop.
When i press "pause" tcmd pauses the counting but when I press then on "Cancel", tcmd starts again seeking files ? After having pressed "cancel" the number of found files increases and decreases ?

tcmd 9.0a (x64)

User avatar
elgonzo
Senior Member
Senior Member
Posts: 377
Joined: 2013-09-04, 14:07 UTC

Post by *elgonzo » 2017-07-01, 06:39 UTC

The issue will be fixed in the next version of TC, according to this post: http://ghisler.ch/board/viewtopic.php?p=329587#329587
ghisler(Author) wrote:Yes, it's fixed, and it will be in the next version. I cannot say yet when this will be released, sorry.
Windows 7 Pro x64 SP1

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36354
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-09-25, 14:08 UTC

Can you please check whether this has been fixed in TC 9.10 beta?
Author of Total Commander
http://www.ghisler.com

Post Reply