[9.0a] Ctrl+Bksp - bug of feature

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
User avatar
MaxX
Power Member
Power Member
Posts: 1024
Joined: 2012-03-23, 18:15 UTC
Location: UA

[9.0a] Ctrl+Bksp - bug of feature

Post by *MaxX »

1
Start TC. F7 (make dir) anywhere. Write something and then press Ctrl+Bksp. You'll see 0x7F char for each Ctrl+Bksp.

2.
Start TC. Shift+F6 (rename) any file. Try Ctrl+Bksp. Nothing happens.

3.
Start Explorer. Rename any file. Try Ctrl+Bksp. You'll see 0x7F char for each Ctrl+Bksp.

Is that bug or feature?
Why does it happen so diffrent?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

And why should I ever press Ctrl-Backspace ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Horst.Epp
I guess MaxX expects TC to delete up to the next word boundary (space, period, backslash etc.) as TC actually does in the command line and the location bar.

But on the other hand - if I press Ctrl+backspace in for example Notepad I get the same non usable characters.

I looked around in TC - Ctrl+backspace for deleting to word boundary is supported some places and not otheres. For example is it also supported in the F5 and F6 dialog.

It looks like most editing fields in TC that are path aware (suggests paths as you write) supports Ctrl+backspace, even if "Auto-complete paths" is deselected - otherwise it is generally not supported.
Start Explorer. Rename any file. Try Ctrl+Bksp. You'll see 0x7F char for each Ctrl+Bksp.
Yes, but try editing the location bar in top of Explorer - here Ctrl+backspace is supported (as in TC's location bar)
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

FYI
http://superuser.com/questions/33142/ctrlbackspace-inserts-a-small-box-instead-of-erasing/636973

So it's a "default feature" when implementing a standard Windows edit control in a program, but on the other hand you're on your own to make it actually work. Therefore many programs (or program parts) fail to do so.
And I agree: while I heard about that key combination some time ago, I never used it or even expected it to work at all.
TC plugins: PCREsearch and RegXtract
Post Reply