Rename single file edit consumes the rename command

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Mikhail22
Junior Member
Junior Member
Posts: 5
Joined: 2018-04-24, 19:54 UTC

Rename single file edit consumes the rename command

Post by *Mikhail22 »

Disclaimer: as I see, this is not a bug, but merely "a feature
which introduces a bug as a consequence".

How to reproduce:
1. Define a keyboard shortcut for rename, e.g.:
Hotkey: W
Command: cm_RenameSingleFile

2. Press W (it goes into name edit mode).
3. move cursor inside text - now type W again.

This will cause erase the text.
So it makes it impossible to type the letter when
it is bound to the rename command.

Same issue is with "cm_RenameOnly" command.


Possible solution:
Disable this "feature" (i.e. do not consume
the rename command in name edit mode)

Also please consider making the default selection
of filename *without* extension, since I believe this is the
most frequently needed option.
To select whole name, one can tip Ctrl-A once again,
so this scenario will be covered.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: Rename single file edit consumes the rename command

Post by *ts4242 »

Mikhail22 wrote:Also please consider making the default selection
of filename *without* extension, since I believe this is the
most frequently needed option.
There is an option for that, Configuration> Operation page> Main program
group> Select only the file name when renaming (not the extension)
Mikhail22 wrote:To select whole name, one can tip Ctrl-A once again,
so this scenario will be covered.
Press F6 while renaming toggle selection between name+ext and name only
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Well, it is quite weird to use lettets w/o modifiers for operations but I agree that shortcuts must be ignored in quick rename mode.
Mikhail22
Junior Member
Junior Member
Posts: 5
Joined: 2018-04-24, 19:54 UTC

Post by *Mikhail22 »

MVV wrote:Well, it is quite weird to use lettets w/o modifiers for operations
How is it weird? Binding to comfortable keys is the first thing
you want to do for most frequent operations like inline rename.
And I am really happy that TC allows me to do so.
Post Reply