Simple Rename Bug

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Leonard
Junior Member
Junior Member
Posts: 6
Joined: 2006-01-28, 10:12 UTC

Simple Rename Bug

Post by *Leonard »

in versions 6.53, and 6.54 (both betas), when i try to rename a file or directory using Shift F6 (i mapped also Delete key), when i want to delete the first character it deletes the entire filename (or directory name). and it's annoying to use Right Arrow+Backspace keys instead of Delete key.
the versions below 6.51 (including) doesn't have this bug. i never tested 6.52.
User avatar
petermad
Power Member
Power Member
Posts: 14814
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It is not a bug it's a feature. Just press Shift+F6 and then F6 again, then you will be at the start of the folder name, unless there is a period in the folder name.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

You can switch this behaviour with a wincmd.ini entry:

Code: Select all

RenameSelOnlyName=1
But, I think Leonard means that in 6.50 he was able to press Shift+F6 and have NOTHING marked. Well, I don't remember such a functionality and when checking 6.50 here I can't reproduce that either.

Icfu
This account is for sale
Leonard
Junior Member
Junior Member
Posts: 6
Joined: 2006-01-28, 10:12 UTC

Post by *Leonard »

petermad wrote:It is not a bug it's a feature. Just press Shift+F6 and then F6 again, then you will be at the start of the folder name, unless there is a period in the folder name.
icfu wrote:You can switch this behaviour with a wincmd.ini entry:

Code: Select all

RenameSelOnlyName=1
sorry, but still doesn't work. i tryied both suggestions.
F6 after Shift-F6 seems to be equivalent with Home key. but still, when i press Delete, i lose the entire filename.
User avatar
petermad
Power Member
Power Member
Posts: 14814
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

F6 after Shift-F6 seems to be equivalent with Home key. but still, when i press Delete, i lose the entire filename.
Not here, I only get the first character deleted doing that - weird.

Win XP SP2, TC 6.54 pb3
Last edited by petermad on 2006-01-28, 16:30 UTC, edited 2 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3300
Joined: 2003-05-06, 11:46 UTC

Re: Simple Rename Bug

Post by *Sir_SiLvA »

Leonard wrote:in versions 6.53, and 6.54 (both betas), when i try to rename a file or directory using Shift F6 (i mapped also Delete key), when i want to delete the first character it deletes the entire filename (or directory name). and it's annoying to use Right Arrow+Backspace keys instead of Delete key.
the versions below 6.51 (including) doesn't have this bug. i never tested 6.52.
not confirmed - xp pro, sp2 & tc6.54pb3
Hoecker sie sind raus!
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Pressing SHIFT-F6 selects the whole filename.
Pressing DEL key deletes the whole selection.

This is intentional (standard Windows behavior) !

If you want to delete the first character only, you have to press HOME and then DEL key.
#5767 Personal license
Leonard
Junior Member
Junior Member
Posts: 6
Joined: 2006-01-28, 10:12 UTC

Post by *Leonard »

sqa_wizard wrote: If you want to delete the first character only, you have to press HOME and then DEL key.
that's what i'm saying. that worked until 6.51 without any problems.
but in the next versions... the problem it's not the first caracter (i gave only an example), but that using of delete key is disabled for editing. wherever is the cursor after i pressed shift-F6 and moved the cursor (not making any selection), it deletes the whole filename (directory name). this must be a bug, not a feature.
i just tested public beta 3 and the same problem.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Please Test with a fresh ini. You could achieve it running Total Commander with Parameter:

Code: Select all

totalcmd.exe /i=.\test.ini
which will create a new inifile in the program dir named 'test.ini'.

I guess you got a hotkey set on your del-key. So a TC with new ini-file would not show this behavior.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Leonard
Junior Member
Junior Member
Posts: 6
Joined: 2006-01-28, 10:12 UTC

Post by *Leonard »

it's true. i set that because it's more easy than shift-F6 (why to use 2 hands instead of 1? and i never use delete-to-recycle-bin function). without del key mapped for rename it's working :((
but i don't see the reason why in 6.53+ it's not allowed anymore to map del key for rename.
Post Reply