Not possible to delete multiple files in listbox

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

Post Reply
Chilius
Junior Member
Junior Member
Posts: 4
Joined: 2011-01-09, 06:27 UTC

Not possible to delete multiple files in listbox

Post by *Chilius » 2011-01-09, 06:44 UTC

Hello,

When i do a search for files, with the search function in TC 7.56a, and use "Feed to Listbox" (to see the found files in a list), it's not possible to delete multiple files in that list, it's only possible to delete them one by one.

In 7.55a (and older versions) this always worked fine.

Thanks for Total Commander, it's my favorite piece of software ! :wink:

User avatar
sqa_wizard
Power Member
Power Member
Posts: 3395
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard » 2011-01-09, 10:34 UTC

2Chilius: Welcome at the forum!

Sorry, but I cannot confirm it.

Deleting multiple files of the "feed to listbox" results works fine here (TC 7.56a, WinXP SP3)
#5767 Personal license

User avatar
Hacker
Moderator
Moderator
Posts: 11062
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker » 2011-01-09, 10:37 UTC

Chilius,
Works fine here, too. Win 7 64-bit.

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.

Chilius
Junior Member
Junior Member
Posts: 4
Joined: 2011-01-09, 06:27 UTC

Post by *Chilius » 2011-01-09, 15:35 UTC

When i tried it later i could delete more than one file, but still when i selected all the files i wanted to delete at once it didn't work as it should (i wanted to delete all the files (+/- 50) on the list with the exception of 4 files).

When right-clicking the selected files some small basic context menu is shown, and when this small menu is shown the delete function doesn't work (simply nothing happens when you click it).

*** the link to that picture isn't allowed here ??? ***
@admin: Don't you think anyone has more funny things to do in his free time than reporting a possible bug ? whatever...

Normally my context menu is much larger (with many options from other software) and when this larger menu pops up i can delete multiple files as intended.
So it's a bit of a question when or why that smaller menu pops up.

Only thing you can try to replicate this is to select a lot of files (50 or so) and after that deselect some of them and try if you can see that smaller context menu also when right-clicking the selected files in some situations (that's how i replicated the situation later to make this small picture).
I have to admit it took me quite some time to simulate that situation again.

I use WinXP SP3 32-bit and the files i wanted to delete are just simple files (no system, hidden or read-only files).
I've done exactly the same thing tens of times last year with older TC versions and never had this problem before and this is the first time i trying to it since my update to 7.56a.

I hope i've given enough information for you to find what this is.

For the moment i'm back to 7.55a.

User avatar
Hacker
Moderator
Moderator
Posts: 11062
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker » 2011-01-09, 16:02 UTC

Chilius,
Does it work using F8 or Delete?

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.

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

Post by *MVV » 2011-01-09, 16:04 UTC

Chilius, after 'feed to listbox' you may use TC internal delete command (Del or F8 or delete button at the bottom of TC window).

Chilius
Junior Member
Junior Member
Posts: 4
Joined: 2011-01-09, 06:27 UTC

Post by *Chilius » 2011-01-10, 04:02 UTC

Yes i tried to delete with the onscreen button F8, the <del> button and with the <shift>+<del> buttons, but nothing worked at that moment.

That's how i usually delete, when that didn't work i tried deleting by using the context menu.

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

Post by *ghisler(Author) » 2011-01-10, 15:01 UTC

The Explorer delete method fails with files from multiple drives. try deleting them separately for each drive.
Author of Total Commander
http://www.ghisler.com

Chilius
Junior Member
Junior Member
Posts: 4
Joined: 2011-01-09, 06:27 UTC

Post by *Chilius » 2011-01-10, 17:19 UTC

The list showed files from 4 different directories on the same drive, the 4 files i deselected were all the files from 2 of those 4 directories, so the ones i selected to delete at the end were coming from 2 directories on the same drive.

I've tried to simulate the same situation in TC 7.55a but all works fine in there.

If none of you experts can replicate the situation i guess it must be something on my system causing this issue.

I don't mind doing one little step back to 7.55a, it does all i can wish for (and much more).

Thanks for your time guys, and special thanks to Ghisler for making this awesome handy piece of software, it's simply unbelievable Microsoft never replaced their poor annoying browser with something like Total Commander. It really gives you full control.

Good luck !!! :D

User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom » 2011-01-10, 18:15 UTC

Well it is buggy behaviour on TC's part that when Explorer Delete method is enabled...
Deleting Files (same drive) in a TC "Search Result:" ListBox
---> TC does not update it's own listbox to show the files are deleted.

And when Explorer Delete method is enabled, AND Windows is set to Automatically delete to Recycle Bin (no confirmation).
---> There is no message that anything has been done at all, and TC still displays the files in its own Listbox.

Similarly, when you try to delete files from 2 different drives in a "Search Result:" ListBox...
---> No Message. Files are still displayed. And none of the files are deleted.

Total Commander should at least be able to switch to non-Explorer delete method when it needs to. A "Search Results:" Listbox is a special case, and should not lose functionality just because the end-user has changed the "function" to delete most files with.

Total Commander should use non-explorer delete method for those special-case ListBoxes as otherwise the behaviour is seen as a fault with TC.

I haven't tested, but sounds like this would affect MVV's VirtualPanel as well --- and lose functionality of the VP if one wanted to use Explorer Delete method for normal usage.

And if you, Mr.Ghisler don't agree that TC Delete method should be used in these cases that actually break Total Commander functionality, then TC could at least internally pre-Sort the selected files into separate-drive lists, and call an explorer delete method for each group.

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

Post by *ghisler(Author) » 2011-01-13, 16:43 UTC

The question is whether the files really get deleted in Chilius case or not. As I understand it, they don't even get deleted, something which I cannot reproduce here when they are all on the same drive...
Author of Total Commander
http://www.ghisler.com

thuan ha
Junior Member
Junior Member
Posts: 2
Joined: 2018-06-05, 02:03 UTC

Post by *thuan ha » 2018-07-03, 06:22 UTC

Maybe the path length more than 256 character?

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

Post by *ghisler(Author) » 2018-07-03, 08:58 UTC

That could be - files with such long names cannot be deleted to recycle bin, but deleting with Shift+Delete will work.
Author of Total Commander
http://www.ghisler.com

Post Reply