Page 1 of 2

Ask for confirmation on mouse click during inplace rename

Posted: 2011-09-29, 06:31 UTC
by MVV
Currently TC just closes inplace rename window when it looses focus.

It would be useful to have an option (disabled or enabled by default - no matter) to enable message asking to confirm rename instead of just closing rename window. E.g. TC may check if name has changed and ask if it was.

Posted: 2011-09-29, 10:28 UTC
by Samuel
Strongly support++;

Posted: 2011-09-29, 19:53 UTC
by petermad
Support ++

Posted: 2016-02-15, 11:26 UTC
by leopoldus
I have to use quite long file names (usually over 200 symbols) which should include much information. That's why TC current behavior is a really very, very, very big headache for me. Many times every day I get in trouble, when after spending several minutes to compose a file correct name some 3.rd application notification window (say, email notification, calendar event reminder or just some app error notification) suddenly jumps to the front and steals the focus - so the result is, that the whole my previous work with renaming a file is immediately lost. Besides I get often the same sad result, when I simply touch by accident a mouse or a keyboard key.

Adding this option (inplace rename as in Windows Explorer, when before losing focus it automatically saves the made changes) would solve my problem. Is there any hope to get the appropriate option in the 9.th version?

Posted: 2016-02-18, 11:30 UTC
by ghisler(Author)
Just use F6 instead of Shift+F6 to rename. You can start typing immediately, it will overwrite the path and name.

Posted: 2016-02-18, 12:46 UTC
by MVV
ghisler(Author),
Unfortunately you can't just edit filename using just F6, you have to erase it (or you have to erase path before the name and it is also complicated).

Posted: 2016-02-18, 13:41 UTC
by leopoldus
MVV wrote:Unfortunately you can't just edit filename using just F6, you have to erase it (or you have to erase path before the name and it is also complicated).
Yes, it is a real headache for me too.

Besides this modal window being called by F6 is too narrow, it shows 60 symbols only what is about 1/3 of my average filenames length (and there is no option to change this window width).

Posted: 2016-02-18, 19:14 UTC
by Hacker
MVV,
Unfortunately you can't just edit filename using just F6, you have to erase it (or you have to erase path before the name and it is also complicated).
ghisler(Author) wrote:Just use F6 instead of Shift+F6 to rename. You can start typing immediately, it will overwrite the path and name.
Roman

Posted: 2016-02-18, 20:27 UTC
by leopoldus
2Hacker
Unfortunately you can't just edit filename using just F6,
Just use F6 instead of Shift+F6 to rename. You can start typing immediately, it will overwrite the path and name.
"edit" != erase/overwrite

Posted: 2016-02-18, 20:48 UTC
by Ovg
leopoldus wrote:
"edit" != erase/overwrite
Exactly!!!

Posted: 2016-02-18, 21:05 UTC
by Hacker
leopoldus,
"spending several minutes to compose a file correct name"
I did not think "compose" meant edit instead of "build". Anyways, F6, F6, F6, Ctrl-C, Ctrl-A, Del, Ctrl-V, Home.

HTH
Roman

Posted: 2016-02-18, 21:13 UTC
by MVV
Hacker wrote:Anyways, F6, F6, F6, Ctrl-C, Ctrl-A, Del, Ctrl-V, Home.
That's what I've called complicated. :D

Posted: 2016-02-18, 22:27 UTC
by Hacker
MVV,
Well, if someone composes a file name for several minutes I think he can spare the two seconds it takes to type that sequence or use this simple Alt-F6 script I made in two minutes:

Code: Select all

SendMode, Input

#IfWinActive, ahk_class TTOTAL_CMD
!F6::
	Send, {F6}
	Clipboard =
	WinWaitActive, Total Commander ahk_class TInpComboDlg
	Send, {F6 2}^c^a{Del}
	ClipWait
	Send, ^v{Home}
Return
Roman

Posted: 2016-02-19, 15:10 UTC
by MVV
But what if someone doesn't like AHK and wants to rename files faster? What if someone prefers F6-like dialog on Shift+F6 but with filename only? Just as TC does when you select some file AND .. item and then press Shift+F6.
Anyway I don't think that it is too hard to add a confirmation, or to show rename dialog when TC loses focus while it is in inplace rename mode.

Posted: 2016-02-19, 16:06 UTC
by Hacker
MVV,
But what if someone doesn't like AHK and wants to rename files faster? What if someone prefers F6-like dialog on Shift+F6 but with filename only?
Then he's currently out of luck.

Roman