Mark exactly one file or directory (e.g. via Insert key)
Move the text cursor away from the selected object
Press F2, which will execute cm_RenameSingleFile (remapped by above wincmd.ini). TC in-place renames the object under the cursor. That's good, because it's expected that cm_RenameSingleFile always operates on the object under the cursor like its description suggests.
Abort the rename operation and press Shift+F6. TC also starts the in-place rename on the file under the cursor. This is wrong. A selection is active and the user expects TC to operate on it when cm_RenameOnly is called (mapped to Shift+F6 by default)
Marking/selecting more than one object shows the dialog to Rename/Move X files, which is also good and expected.
This bug is present in TC 8.52a all the way up to and including 9.20 beta3; I didn't test older versions though because I don't think they're relevant.
(Hope there's a good explanation should this behavior be intentional)
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
The problem is only partially fixed. The reaction to cm_RenameOnly command is correct now, but this doesn't apply to Shift+F6. Selecting a single file, moving the cursor away from that file and pressing Shift+F6 still activates in-place rename of the file under the cursor.
Remember that F5, F6, F8/Del and Shift+F5 all operate on the selection, not the file under the cursor, so Shift+F6 should do the same IMO. Also note that the command browser claims that cm_RenameOnly is mapped to Shift+F6 which is clearly not the case (you can try that if you remap F6 or any other key to cm_RenameOnly yourself).
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
I agree with Dalai - cm_RenameOnly by itself works as expected, but it does not do the same as Shift+F6 when one file is selected and the cursor is on another file
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14 TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar