Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delete files
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed Printable version
View previous topic :: View next topic  
Author Message
yngpx
Junior Member
Junior Member


Joined: 09 Mar 2012
Posts: 6

PostPosted: Thu May 24, 2012 12:10 am    Post subject: Delete files Reply with quote

When I delete files and I have check option in configuration: F8/Del deletes to recycle bin (and uncheck option: use explorer delete metod) TC 8 show confirm dialog for windows explorer, but not dialog Total Commander
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4526
Location: Russian Federation

PostPosted: Thu May 24, 2012 12:17 am    Post subject: Reply with quote

If you're using Windows Vista/7, this method is used by default when you delete to recycle bin. You may try to set VistaDelete=0 in wincmd.ini (read TOTALCMD.chm sectiob 4.b for details).
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
yngpx
Junior Member
Junior Member


Joined: 09 Mar 2012
Posts: 6

PostPosted: Thu May 24, 2012 12:37 am    Post subject: Reply with quote

It's work - Thank you very much
Back to top
View user's profile Send private message Send e-mail
Aezay
Senior Member
Senior Member


Joined: 12 Feb 2003
Posts: 247
Location: Denmark

PostPosted: Mon May 28, 2012 7:31 pm    Post subject: Reply with quote

MVV wrote:
If you're using Windows Vista/7, this method is used by default when you delete to recycle bin. You may try to set VistaDelete=0 in wincmd.ini (read TOTALCMD.chm sectiob 4.b for details).

This is not the case for 7.57a though.

When I disable the option "F8/Del deletes to recycle bin (Shift=directly)" in 8.0, I get the old delete prompt. When the option is enabled however, you get a Windows dialog.

In 7.57a, no matter what state this option was in, you would always get a TotalCmd delete prompt.
_________________
Of all the planets I've been to, this one is my favorite.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Tue May 29, 2012 4:04 am    Post subject: Reply with quote

This isn't a bug, it's a new feature of TC8! The problem is that the old delete method used by TC 7.x to delete to recycle bin is terribly slow and uses a lot of memory on Windows Vista/7.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Aezay
Senior Member
Senior Member


Joined: 12 Feb 2003
Posts: 247
Location: Denmark

PostPosted: Tue May 29, 2012 7:52 am    Post subject: Reply with quote

ghisler(Author) wrote:
This isn't a bug, it's a new feature of TC8!

Haha, I like this saying. But alright, thanks for the explanation.

I have yet to go through the TC8 changelog to see what is new, though I expected there really wasn't any, as the main goal was just to "replicate" the behaviour of the pre-TC8 version. Or is that an incorrect assumption?

PS: Total Commander is the first thing I start up and the last thing I shut down, it's so useful I feel handicapped without it. So thank you very much for the awesome tool, the great service and actually replying to us silly users. Smile
_________________
Of all the planets I've been to, this one is my favorite.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Orochi
Junior Member
Junior Member


Joined: 09 Oct 2011
Posts: 17

PostPosted: Thu May 31, 2012 1:23 pm    Post subject: Reply with quote

ghisler, so if I use VistaDelete=0 would it make TC8 use old delete method used in TC7?
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Thu May 31, 2012 2:07 pm    Post subject: Reply with quote

Yes, exactly.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Breaker
New Member
New Member


Joined: 08 Jun 2007
Posts: 1

PostPosted: Sat Jun 02, 2012 10:06 am    Post subject: Reply with quote

But there's another problem with this Win7/Vista method (at least for me):

For all the files I'm sure to delete, I am used to press "Del" and "Return" pretty fast. With the new Win7/Vista delete method, this results in the file NOT being deleted.

The reason is, that the "Return" press event seems to go to the "Cancel" button on the TotalCmd window below (because the Vista dialog is not yet there immediately), and after I press the "Yes" button on the Win7/Vista deletion dialog, the underlying TotalCmd window reacts and cancels the operation...

By now, my only option is to add also this VistaDelete=0 option in wincmd.ini (but having a slower deletion process). I found that many of my file delete cases fall in that category because I'm used to pressing Del+Return direkctly after another it seems...

It would be nice it this would be changed some time...

Uwe.
Back to top
View user's profile Send private message
PetePat
Junior Member
Junior Member


Joined: 07 Apr 2004
Posts: 8
Location: Croatia

PostPosted: Sun Jun 03, 2012 12:42 am    Post subject: Reply with quote

Quote:
For all the files I'm sure to delete, I am used to press "Del" and "Return" pretty fast. With the new Win7/Vista delete method, this results in the file NOT being deleted....


Same here.
Back to top
View user's profile Send private message Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Sun Jun 03, 2012 9:12 am    Post subject: Reply with quote

Unfortunately this cannot be avoided: TC first needs to create OLE objects for all the selected files/folders, which it then passes to the VistaDelete function. This function then shows the delete confirmation dialog. You need to be able to abort this preparation phase because it can actually take a while with many files selected...
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mercade
Junior Member
Junior Member


Joined: 20 Jul 2003
Posts: 30

PostPosted: Sun Jun 10, 2012 3:43 am    Post subject: Reply with quote

Breaker wrote:
For all the files I'm sure to delete, I am used to press "Del" and "Return" pretty fast. With the new Win7/Vista delete method, this results in the file NOT being deleted.

The reason is, that the "Return" press event seems to go to the "Cancel" button on the TotalCmd window below (because the Vista dialog is not yet there immediately), and after I press the "Yes" button on the Win7/Vista deletion dialog, the underlying TotalCmd window reacts and cancels the operation...
Same here. In fact, being concious of not being too fast, I waited for the Yes/No dialog to open and used the cursor keys to move between yes and no to ensure I'm in the Yes/No dialog. Still, when clicking Enter on the Yes, it would not delete the file until I pressed F8 and Enter (on Yes) again. Happens about 50% of the time.

Using 8.0 32bit on Win7 32bit.
Back to top
View user's profile Send private message
umbra
Power Member
Power Member


Joined: 14 Jan 2012
Posts: 654

PostPosted: Mon Jun 25, 2012 4:17 am    Post subject: Reply with quote

2Breaker, 2PetePat, 2Mercade
Try TC8.01 rc1. It tweaks the delete behavior a bit and it might solve your issues.
_________________
Windows 7 Pro x64, Windows 8 Pro x64
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Mon Jun 25, 2012 7:22 am    Post subject: Reply with quote

The return press is now ignored initially when it goes to the progress dialog. Unfortuantely Windows still doesn't "see" the keypress in the new confirmation dialog sometimes, but at least it doesn't abort the delete operation now.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ysu
Junior Member
Junior Member


Joined: 22 Apr 2010
Posts: 6

PostPosted: Sun Dec 02, 2012 6:23 pm    Post subject: Reply with quote

similar problem here, using 8.01

The difference though:
I've always had the delete confirmation off for simple file deletes to bin.
Firstly, I know what I'm doing, second, there's always the bin to recover them if I made a wrong move.

But there seems to be no way to achieve this sort of behaviour now; it always asks for confirmation.

Have I missed something? Is there a way to get the normal, advanced behaviour back?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group