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.
too long time to display a deletion confirmation
Moderators: Hacker, petermad, Stefan2, white
-
- New Member
- Posts: 1
- Joined: 2009-02-09, 09:33 UTC
Re: too long time to display a deletion confirmation
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.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.
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.