too long time to display a deletion confirmation

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
pavel.studeny
New Member
New Member
Posts: 1
Joined: 2009-02-09, 09:33 UTC

too long time to display a deletion confirmation

Post 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.
Giovanni
Member
Member
Posts: 154
Joined: 2005-03-23, 18:28 UTC

Post by *Giovanni »

Press Escape to stop the scanning and immediately bring up the delete dialog - introduced in TC7.04a
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: too long time to display a deletion confirmation

Post 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
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.
Post Reply