admin wrote:zer0 wrote:PeterH wrote:I think renaming here is a part of the creation, and escaping it *means* escaping the complete creation, doesn't it?
Strictly-speaking, no. It may be perceived as part of, but it is not. Say you create a folder by pressing Ctrl + N, 2 things happen. One -- a new folder that is called "New Folder" is created. Two -- this folder is put into a rename mode. Whether you do any renaming or not, pressing Esc will only take you as far back as completion of thing One. This is not unreasonable as, when in rename mode, all Esc does is cancel whatever rename took place. If having that new folder is really undesirable, just click Undo and it will be gone.
Perfect answer!
Sorry - from my point of view it's a very bad answer! It prefers technical reasons above usability and quality of a user interface! (Especially I'm puzzled it's from zer0.)
(If this would be OK, every bad interface would be OK, as it would be for the (current) program flow...)
I do not want to create a file "new file", and then possibly rename it. I want to
create a file with a name I select. And if I cancel it, I don't want just to cancel a part of it. Without respect to "machine instructions" or "internal program flow"...
(And if anyone would really want to use the default name, he simply could accept it by pressing "enter" instead of canceling with Esc.)
Assume you would add a command "create V2", acting as I said. And then ask, if someone would have a problem if you delete the old "create" - do you think anybody had? I don't think...
There might be some reason *not* to do this, but I don't think it's the one described here.