[8.0ß10] VistaDelete=1 shows two confirmations (system+TC)

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

[8.0ß10] VistaDelete=1 shows two confirmations (system+TC)

Post by *Flint »

Some users on the Russian forums reported that in Win7 x32 with VistaDelete=1 two confirmations are displayed when removing files into RecycleBin: one from Windows, and the other from TC.

Unfortunately, cannot test it myself (I'm using Diskeeper Undelete which intercepts all deleting API calls to move files into an advanced Recycle of its own, and as a side-effect, system confirmations are turned off).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Not confirmed. Please try to get step by step instructions and a simplified wincmd.ini from those who reported it. I also need to know what they configured in Windows recycle bin.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

wincmd.ini:

Code: Select all

[Configuration] 
UseIniInProgramDir=7 
UseTrash=0
1. Put cursor on any file/dir.
2. Press Shift+Del.

(Alternatively, UseTrash=1 can be used and Del should be pressed on the step 2.)

Recycle Bin settings are:
(•) Remove without placing into Recycle Bin
[X] Confirm deleting

The problem is also reproduced if Recycle Bin size is set instead of removing files directly.

PS: Another user said that the report is also valid for 8.0β11.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, not confirmed. I tried it with your settings, and I'm only getting the dialog from Windows.
Author of Total Commander
https://www.ghisler.com
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Post by *LonerD »

Confirmed. My settings

Code: Select all

[Configuration] 
 UseIniInProgramDir=7 
 UseTrash=1
[/size]

Image: http://i29.fastpic.ru/big/2011/1210/73/38d240d9aa62dd92159a7d9bff9c2573.png

My system - Win7 x64 Eng.
TC 8.00 betaxx


ghisler(Author)
and I'm only getting the dialog from Windows.
I think that windows dialog is unnecessary. I work in TC and want to see only TC deleting dialog :)
Last edited by LonerD on 2011-12-16, 15:48 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

These are just the progress bar dialog (belonging to TC) and the confirmation dialog from Windows, just as designed. Where is the problem?
Author of Total Commander
https://www.ghisler.com
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Post by *LonerD »

The problem is we work in Total Commander and don't want see Explorer dialog window.
I like this dialog:
http://i31.fastpic.ru/big/2011/1216/3f/fe1f2e3f74fb289eb7ea36b58eb3943f.png

but not this dialog with two windows:
http://i32.fastpic.ru/big/2011/1216/9f/d4e934687a5314165dd60e6746329a9f.png

Some users may be confused if see two dialogs in the same time. One dialog enough. If there will always be TC-dialog - the best way.
In a pinch (if TC-dialog can't be realized) - then TC-dialog for VistaDelete=0 and one system dialog for VistaDelete=1.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, LonerD.
The problem is we work in Total Commander and don't want see Explorer dialog window.
It is a fact, however, that using the VistaDelete method (VistaDelete=1) Total Commander passes the actual process of deleting objects to Windows. This is why it is the Windows recycle bin confirmation dialogue that we see and not a Total Commander confirmation dialogue.
but not this dialog with two windows:
If you look closely, you will notice that the rear dialogue box is no dialogue box at all. It is the Total Commander progress screen which will display how deleting progresses.
In front of it, there is the Windows recycle bin confirmation dialogue.

The question really is
  • whether Total Commander could avoid displaying its own progress screen before the Windows recycle bin confirmation dialogue has been confirmed.
  • or if this is not feasible whether it would be possible to hide the progress screen behind the Windows confirmation dialogue. This way the Total Commander progress screen would become visible only once you have clicked OK in the Windows confirmation dialogue.
Only the programme author, Christian Ghisler can tell whether either of the two approaches will be feasible.

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

If you look closely, you will notice that the rear dialogue box is no dialogue box at all. It is the Total Commander progress screen which will display how deleting progresses.
Yes indeed! Is that the "problem" you encontered?
Author of Total Commander
https://www.ghisler.com
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Post by *LonerD »

This is not a problem, but a lack of transparency in the work.

OK.
I set VistaDelete = 1, and disabled to confirm the deletion in the properties of the basket.
In most cases I do not watch the dialogues when delete files.
Nevertheless Total in some cases does not pass the process of removing to system and displays its own dialogue to confirm the deletion.
It occurs :
1) when the search results is displayed;
2) when I delete files from flash drives.
This is a bug or a feature ?
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, LonerD.
This is a bug or a feature ?
Neither, nor. This is by design. :wink:
1) when the search results is displayed;
Whenever you delete objects inside a search result window (feed to listbox), VistaDelete is not applicable. Each marked object has to be deleted separately (as if VistaDelete were off). As a consequence Total Commander can and does use its own delete method and therefore displays its own confirmation dialogue.
2) when I delete files from flash drives.
As a rule flash drives do not have their own recycle bin. I.e. whenever you delete from a flash drive you do so directly, not by moving to a recycle bin.
In this case, VistaDelete is not applicable. As a consequence Total Commander can and does use its own delete method and therefore displays its own confirmation dialogue.

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Post by *LonerD »

Neither, nor. This is by design.
Thanks. I understand it.

Return to two windows when deleting with VistaDelete=1 (confirmation dialogue and progress bar)
http://i32.fastpic.ru/big/2011/1216/9f/d4e934687a5314165dd60e6746329a9f.png

I see three solutions:
1. Option to hide TC deletion progress bar, because in most cases, the removal of small files or groups of files it only interferes.

2. First show system dialogue to confirm the deletion, and then show progress bar.

3. If TC show a system dialogue to confirm deletion, then better to shown the system progress bar too.
Post Reply