B7 - x64 - dialog layout on "mark and delete" oper

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
kalkzone
Junior Member
Junior Member
Posts: 54
Joined: 2004-04-16, 18:13 UTC

B7 - x64 - dialog layout on "mark and delete" oper

Post by *kalkzone »

Hi,

if i mark either -one- / or -more- folders
to delete this/these folder/s

the confirmation dialog "do you really want ..."
comes up in different shapes / layouts

additionally there is another layout if i use "shift key" "F8"
(to delete without trash)

--

Another topic to think over was:

If i use

-> main menue
-> marking (? Markieren in german)
-> "mark new, hide identical"

could have anyhow a "End this view mode" - Button or else

You like my hint:

1)
There is a lovely "reread folders" button

-i use in my layout / might be standard layout-
-and i do not want to digg into the depth of TC-

2)
If not unpossible this could be enhanced to be "context sensitive"
optical (with a bigger size / more wide) and different icons /
AND functions / behavior

3)
as in case of "mark new, hide identical" context
this could be exchanged with "restore normal view" / "end mode" or so


To make my thoughts clear:

If i assume you are programming object oriented,
functionality is exchangable on buttons

you might have a "non removable button" (i like the very left)
with context oriented function

-> normal mode : reread source
-> mark and hide : end, go to normal

-> other mode / context - now or in future : ??!!

fx: dont come up with nag screen next time - or so ;-)
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: B7 - x64 - dialog layout on "mark and delete"

Post by *karlchen »

Hello, kalkzone.

Let us start with the part that is about the topic of this thread "B7 - x64 - dialog layout on "mark and delete" operation":
if i mark either -one- / or -more- folders
to delete this/these folder/s

the confirmation dialog "do you really want ..."
comes up in different shapes / layouts

additionally there is another layout if i use "shift key" "F8"
(to delete without trash)
Some questions first in order to make sure we are talking about the same situation:
  • You are using Windows 7 64bit? Or Vista 64-bit?
  • If you check the content of your wincmd.ini, there is no entry which reads "VistaDelete=<number>"? <number> will be 0 or 1.
In case the answer to both questions is positive, then the explanation is this:

Starting with T.C. 8.0ß7 32-bit and 64-bit, Total Commander assumes that it should use VistaDelete=1, in case the parameter VistaDelete is not present in wincmd.ini.
In previous versions, T.C. assumed it should use VistaDelete=0 in such cases.

VistaDelete=1 tells T.C. to use a delete method which is faster on Vista and Windows 7 than the built-in T.C. delete method.
VistaDelete=1 has got no effect on Windows versions before Vista.

VistaDelete comes at a price:

Case #1: <DEL> or <F8>

If you press <DEL> or <F8> T.C. no longer performs the delete operation itself. Windows does.
Therefore you may still spot the T.C. delete progress box, but on top of this you will see one of 3 confirmation dialog variations displayed by Windows itself:
  1. Only 1 file has been marked for deletion:
    Windows will ask "Do you really wish to move this file to the recycle bin? <Name of the file>"
  2. 2 or more files have been marked for deletion:
    Windows will ask "Do you really wish to move X objects to the recycle bin?" X is the number of marked files. No filenames are displayed.
  3. 1 folder has been marked for deletion:
    Windows will ask ""Do you really wish to move this folder to the recycle bin? <Name of the folder>"
I.e with VistaDelete=1 (==new default behaviour on Vista and above), Windows is responsible for the different layouts of the confirmation dialogues, not Total Commander.


Case #2: <shift> <DEL> or <shift><F8>

In this case, you instruct T.C. to bypass the Windows recycle bin. In this case VistaDelete is irrelevant and ignored. As a consequence T.C. displays its own confirmation dialogue before performing the requested operation.

Hope this clears it up a bit.


Important Note:

In case you use VistaDelete=1 on Vista / Windows 7 / Server 2008 / Server 2008 R2, make sure that you have configured the Windows recycle bin to ask for your confirmation before moving anything to the recycle bin. Make sure you have not disabled the Windows recycle bin completely by mistake.

Kind regards,
Karl
--

P.S.:
Kalkzone, it is never a good idea to report more than 1 problem per thread, because discussing two different things in one thread will end in a muddle.
Therefore, I would like to advise you to split the second part starting with "Another topic to think over was:" from this thread and create a dedicated thread for it in the "Suggestions" sub-forum.
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 i mark either -one- / or -more- folders
to delete this/these folder/s

the confirmation dialog "do you really want ..."
comes up in different shapes / layouts
This is actually a standard Windows MessageBox dialog. Windows adjusts the size of this dialog dynamically to its contents.
Author of Total Commander
https://www.ghisler.com
Post Reply