Shift+F4->End->Backspace: bug or feature?

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

March1723
Junior Member
Junior Member
Posts: 2
Joined: 2018-06-02, 16:12 UTC

Shift+F4->End->Backspace: bug or feature?

Post by *March1723 »

Consider next situation: I need to create a file from existing with same name, but different extension. So, with a needed file in focus, I do Shift+F4->End->Backspace trying to remove last characters from extension. Expected action - removed last character. Real action - selected last character and drop-down list been shown. I can get this list with Alt-Down, though. Don't know if this bug or feature, but it's pretty confusing reaction from TC to pure backspace on the string.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I agree. When I am going to enter the name of the new file I don't want suggestions of already existing files except the one under the cursor as template - if I wanted to edit another existing file from the drop-down list I would have placed the cursor on that file and pressed F4 in the first place.
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
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Umm, does it take away from any functionality? IOW, why does it bother you?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Hacker
It bothers me, because after pressing End->Backspace I also have to press Delete (or Backspace once again to get the last character deleted - to me that is not intuitive - when I press backspace I expect the previous character to be deleted immediately.

It is not like for example F7, Shift+F7 or Shift+F5 behaves and is new since TC 9.10

Even if I disable "Auto-complete paths" in the configuration, I still have to press either End->Backspace->Delete or End->Backspace->Backspace in order to delete the last character.

I is not so much the "Auto-complete paths" drop-down list I am opposed to, as it is to the fact that pressing Backspace selects the last character in stead of deleting it.
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
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

petermad
I see, true.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This function is called "Auto-Append", and is part of "Auto-Complete". You can turn it off in Configuration - Options - Operation.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ghisler(Author)
But is it part of the "Auto-Append" function that backspace does not delete immediately? - This is not how I experience "Auto-Append" when used in the command-line.
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
March1723
Junior Member
Junior Member
Posts: 2
Joined: 2018-06-02, 16:12 UTC

Post by *March1723 »

2ghisler(Author)
Thanks for pointing that out. It make sense, since this dialog box was changed since version 9.10 and now support auto-complete/append. Still, it feel counterintuitive when first backspace press do select symbol instead of deleting it. And, as petermad mention it, Shift-F7, having same auto-complete/append feature, do not behave same way, i.e. first backspace at the end of string do delete last symbol, not selecting it.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, auto-append works like this: I give Windows a list of strings used for auto-append. When it encounters text in the input box which is the start of one of these strings, it auto-appends the rest of the string.

There are two possible solutions:
1. Do not pass the name of the file which is already in the edit box to auto-append. This way it will only suggest other file names than the one suggested.
or
2. Disable auto-append in Shift+F4 even if the user has enabled it in TC.

I have implemented option 1 for the next beta.
What do you think?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

What do you think?
If it solves the backspace problem, it seems like a good solution.
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
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

What if user has file.bat and file.bak and tries this Shift+F4+End+Backspace on one of them? Even if focused file won't be passed to auto-append function, another one will, so user will still get described behaviour.

It is a real problem of auto-complete/append feature - they always add some text, even if user don't expect it this time.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, you are right - therefore I have now implemented my suggestion Nr. 2 (disable auto-append just in that dialog, only use auto-complete, if the user has enabled it).
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Hmm, nothing seems to have changed for me in 9.20b6, neither in x64 nor x32. I have both auto-complete and auto-append turned on.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, it only works when the user has checked "Auto-append" but not "Auto-complete" - then Shift+F4 will use Auto-complete instead. It doesn't work when the user has checked both. I will change that in the next beta.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I will change that in the next beta
Great :-)
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
Post Reply