Page 1 of 1

too long time to display a deletion confirmation

Posted: 2009-02-27, 11:22 UTC
by pavel.studeny
When deleting directories consisting of several subdirectories with thousands of files, Total Commander scans [b]all[/b] the files before asking something like "the directory isn't empty, do you wanna delete it anyway?".
It can take a few minutes on such directories to display the dialog, which is annoying.
Instead, finding out whether a directory is empty should just check whether is contains at least one item. Then the dialog should be displayed and all the other actions done afterwards.

Posted: 2009-02-27, 12:18 UTC
by Giovanni
Press Escape to stop the scanning and immediately bring up the delete dialog - introduced in TC7.04a

Re: too long time to display a deletion confirmation

Posted: 2009-02-27, 22:30 UTC
by Hacker
pavel.studeny wrote:When deleting directories consisting of several subdirectories with thousands of files, Total Commander scans all the files before asking something like "the directory isn't empty, do you wanna delete it anyway?".
It can take a few minutes on such directories to display the dialog, which is annoying.
Instead, finding out whether a directory is empty should just check whether is contains at least one item. Then the dialog should be displayed and all the other actions done afterwards.
The scanning is not used to find out if the directory is empty or not but to count the files to present a progress bar. You can turn this off under Configuration - Options - Operation.

HTH
Roman