This forum uses cookies. Click X button to hide this message. What is stored? 
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 

Deleting a folder: getting double delete confirmation

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC8.5x bug reports (English) Printable version
View previous topic :: View next topic  
Author Message
mitjap
Junior Member
Junior Member


Joined: 11 Jul 2016
Posts: 3

PostPosted: Mon Jul 11, 2016 1:34 pm    Post subject: Deleting a folder: getting double delete confirmation Reply with quote

Hi,

I am using Windows 10 with option:
F8/Del deletes to recycle bin

Why am I getting double confirmation to delete a folder? First there is a Total commander warning that a folder is not empty and then a recycle bin question. I would really prefer the old way of only one confirmation when deleting a folder.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34301
Location: Switzerland

PostPosted: Wed Jul 13, 2016 2:20 pm    Post subject: Reply with quote

You should get only one. Apparently Windows is reporting wrong state of the delete confirmation checkbox in recycle bin.

Please try this:
1. Right click on F8 Delete button
2. Choose "Properties"
3. Disable delete confirmation
4. Click OK
5. Open properties again
6. Re-enabled delete confirmation
7. Restart Total Commander
_________________
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
mitjap
Junior Member
Junior Member


Joined: 11 Jul 2016
Posts: 3

PostPosted: Thu Jul 14, 2016 2:02 am    Post subject: Reply with quote

I forgot to mention what I am using:
Total Commander 8.52a (x64) on Windows 10

I tried the steps you mentioned but it did not help. Maybe I should mention that this only happens for a folder. Files work as expected (they display only native recycle bin confirmation dialog).

Is there an option to turn off native dialogs and use just Total commander dialogs?
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34301
Location: Switzerland

PostPosted: Thu Jul 14, 2016 4:13 am    Post subject: Reply with quote

Maybe you mean the dialog that the folder isn't empty? This is an additional warning so you don't delete a folder by mistake.
_________________
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
mitjap
Junior Member
Junior Member


Joined: 11 Jul 2016
Posts: 3

PostPosted: Thu Jul 14, 2016 4:44 am    Post subject: Reply with quote

No, I mean to show the dialog that the folder isn't empty but delete without showing the Windows native recycle bin warning.

Are you using the ShellApi? As far as I know using flags like this should prevent any dialog from showing:
FOF_SILENT | FOF_NOCONFIRMATION | FOF_NOERRORUI | FOF_NOCONFIRMMKDIR
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34301
Location: Switzerland

PostPosted: Fri Jul 15, 2016 10:25 am    Post subject: Reply with quote

Unfortunately these turn off ALL the Windows dialogs, also those for which there is no alternative in code (no callback from Windows to handle it).
_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC8.5x bug reports (English) All times are GMT - 6 Hours
Page 1 of 1

 
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