Incorrect confirmation dialog for Hidden+System files
Moderators: Hacker, petermad, Stefan2, white
Incorrect confirmation dialog for Hidden+System files
Create any file and set its attributes to hidden+system. This issue does not seem to be happening with other attribute combinations, just with this one. Also, I tested it on Windows 8 x64. I don't know, if it applies to previous versions or not. TCx32 and TCx64 behave the same way.
Win95Delete
Set Win95Delete=1 (this makes VistaDelete irrelevant) and try to delete the file.
You will get a standard Explorer delete dialog and then, you should get a confirmation dialog mentioning, that the deleted file might be important. However the shown dialog just asks you again if you want delete the file (no special warning).
Image: http://i1057.photobucket.com/albums/t399/uumbra8/TC/bugs/tc-hidden-system-win95.png
VistaDelete
Set VistaDelete=1 (and don't forget to disable Win95Delete to make it work) and try to delete the file.
You will get a result very similar to the previous one. Except when you delete to the Recycle bin, you don't get just a similar "confirmation" dialog, but the exactly same dialog again. Shift-delete seems to use completely different dialogs (probably TC's internal).
Image: http://i1057.photobucket.com/albums/t399/uumbra8/TC/bugs/tc-hidden-system-vista.png
Internal delete
If you disable both VistaDelete and Win95Delete, TC uses its internal dialogs - no issue there.
Explorer
And, for comparison, here is how it looks in Explorer:
Image: http://i1057.photobucket.com/albums/t399/uumbra8/TC/bugs/explorer-hidden-system.png
Win95Delete
Set Win95Delete=1 (this makes VistaDelete irrelevant) and try to delete the file.
You will get a standard Explorer delete dialog and then, you should get a confirmation dialog mentioning, that the deleted file might be important. However the shown dialog just asks you again if you want delete the file (no special warning).
Image: http://i1057.photobucket.com/albums/t399/uumbra8/TC/bugs/tc-hidden-system-win95.png
VistaDelete
Set VistaDelete=1 (and don't forget to disable Win95Delete to make it work) and try to delete the file.
You will get a result very similar to the previous one. Except when you delete to the Recycle bin, you don't get just a similar "confirmation" dialog, but the exactly same dialog again. Shift-delete seems to use completely different dialogs (probably TC's internal).
Image: http://i1057.photobucket.com/albums/t399/uumbra8/TC/bugs/tc-hidden-system-vista.png
Internal delete
If you disable both VistaDelete and Win95Delete, TC uses its internal dialogs - no issue there.
Explorer
And, for comparison, here is how it looks in Explorer:
Image: http://i1057.photobucket.com/albums/t399/uumbra8/TC/bugs/explorer-hidden-system.png
Windows 10 Pro x64, Windows 11 Pro x64
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This option is currently not supported by VistaDelete. Why? It's not possible to skip files in this function. However, VistaDelete is only called when deleting to recycle bin, so the file isn't lost immediately.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
What option?
I'm talking about the text of confirmation dialogs. The text is incorrect if VistaDelete OR Win95Delete are enabled. The text is correct if and only if both settings are disabled. The difference between VistaDelete and Win95Delete is only in a design of confirmation dialogs. And it applies only to hidden+system files. If one deletes a file that is just system, the text in confirmation dialogs is always correct.
I'm talking about the text of confirmation dialogs. The text is incorrect if VistaDelete OR Win95Delete are enabled. The text is correct if and only if both settings are disabled. The difference between VistaDelete and Win95Delete is only in a design of confirmation dialogs. And it applies only to hidden+system files. If one deletes a file that is just system, the text in confirmation dialogs is always correct.
Windows 10 Pro x64, Windows 11 Pro x64
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have checked it now - it is indeed a bug in Explorer! The bug only occurs when you don't show hidden files in Explorer. It seems that Windows 8 is unable to determine that it's a hidden or system file when hidden files aren't displayed in Explorer. When you enable them in Explorer, the TC will also show the right message...
In Explorer it's under Display - Options - Display - Hide protected system files (sorry, translated from a Swiss German Windows).
In Explorer it's under Display - Options - Display - Hide protected system files (sorry, translated from a Swiss German Windows).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
You are right. But, just to be precise:
It's about showing system files in Explorer (menu "View->Options->View->Hide protected operating system files (Recommended)"). Visibility of hidden files (menu "View->Options->View->Show hidden files, folders and drives") is irrelevant.
Also, today I tested it on a fully updated Windows 7 x64 and the behavior is practically the same. The only difference is that Win7 shows only one configuration dialog instead of two (but with wrong text anyway). So it does not seem to be a new bug (unless it has been introduced in an update like IE10).
You are right. But, just to be precise:
It's about showing system files in Explorer (menu "View->Options->View->Hide protected operating system files (Recommended)"). Visibility of hidden files (menu "View->Options->View->Show hidden files, folders and drives") is irrelevant.
Also, today I tested it on a fully updated Windows 7 x64 and the behavior is practically the same. The only difference is that Win7 shows only one configuration dialog instead of two (but with wrong text anyway). So it does not seem to be a new bug (unless it has been introduced in an update like IE10).
Windows 10 Pro x64, Windows 11 Pro x64
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, that's what I wrote:
It's just translated from German, I didn't know the exact English labels.In Explorer it's under Display - Options - Display - Hide protected system files
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com