folder quick rename
Moderators: Hacker, petermad, Stefan2, white
folder quick rename
1.quick rename folder to alredy exist name
2.get warning about folder alredy exists
3.pres ESC button - result nothing
2.get warning about folder alredy exists
3.pres ESC button - result nothing
Hello, infector.
I fail to see where the bug comes in.
In step 2, you do not simply get a warning that the folder already exists. Rather you are asked whether you wish to move the folder which you are trying to rename into the existing folder.
The dialogue box accepts only two answers: yes or no. It simply does not say pressing escape were an answer and it does not accpet escape.
So it works as designed.
Hence you might suggest to enhance the design to also accept escape and to interpret escape like no.
Kind regards,
Karl
I fail to see where the bug comes in.

In step 2, you do not simply get a warning that the folder already exists. Rather you are asked whether you wish to move the folder which you are trying to rename into the existing folder.
The dialogue box accepts only two answers: yes or no. It simply does not say pressing escape were an answer and it does not accpet escape.
So it works as designed.
Hence you might suggest to enhance the design to also accept escape and to interpret escape like no.
Kind regards,
Karl
Hi, infector.
I suspect that the dialogue box used in this context is one of the pre-fabricated Windows dialogue boxes that do not accept the escape key unless a third button displaying the string "abort" is present. This in turn would require translation. "Abort", "Abbrechen", etc , for each supported language.
But in the end, only Christian can tell how much or how little effort will be required to add the escape key to this dialogue box.
(I would also expect the escape key to abort the intended operation just like selecting "no" explicitly.)
Kind regards,
Karl
I suspect that the dialogue box used in this context is one of the pre-fabricated Windows dialogue boxes that do not accept the escape key unless a third button displaying the string "abort" is present. This in turn would require translation. "Abort", "Abbrechen", etc , for each supported language.
But in the end, only Christian can tell how much or how little effort will be required to add the escape key to this dialogue box.
(I would also expect the escape key to abort the intended operation just like selecting "no" explicitly.)
Kind regards,
Karl
Message that appears is standard Windows API message box. Such boxes accept Escape button only if them have Cancel button. Program can't react on keypresses in such message boxes. And, Windows sets button captions in its standard dialogs itself according to OS localization - program can't set custom captions. 'OK', 'Cancel', 'Yes', 'No', 'Abort', 'Help' and some other captions are predefined by Windows. So the only way to support Escape like 'No' in such dialog - is to add third Cancel button to it (maybe it would be more logical to replace Yes and No buttons with OK and Cancel buttons).
BTW same problem exists in many other TC question dialogs. E.g. choose 'Delete' in buttonbar button context menu - same question with 'Yes' and 'No' that doesn't accept Escape.
BTW same problem exists in many other TC question dialogs. E.g. choose 'Delete' in buttonbar button context menu - same question with 'Yes' and 'No' that doesn't accept Escape.

- ghisler(Author)
- Site Admin
- Posts: 50517
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That's the reason why I use dialogs with Yes/No/Cancel in some places even if there is no logical meaning of "Cancel". I didn't add it to this specific dialog. Currently it's not planned to add it, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com