Change command to 'Default command (no remap)' on backspace

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Change command to 'Default command (no remap)' on backspace

Post by *MVV »

If user wants to remove shortcut for some command, he needs to choose hotkey and then to choose 'Default command (no remapping)' in command browser.

I think it would be useful to set command to 'Default command (no remapping)' if user presses Backspace in "Command:" editbox in Configuration - Misc dialog.
Or maybe even small additional button for removing hotkey.
User avatar
petermad
Power Member
Power Member
Posts: 16117
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Support+++ - it has always annoyed me how inconvenient it is to remove a shortcut.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Sad that such a simple feature haven't realized yet.

I think apply button (HOT_OKBTN) may be used to set/remove hotkey. Red x may be displayed on it instead of v after applying changes => will reset shortcut to 'no remap' if clicked.

So, user chooses another user-command => button shows v (as is). User clicks v or chooses another shortcut (already remapped) => button shows x and allows to reset shortcut.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

I agree that the current implementation of hotkey management is a bit cumbersome. And removing of a hotkey could certainly be improved. But why not implement a simple list of already created hotkeys? Nothing fancy, just a simple list in which one could select an entry to edit or remove. Wouldn't that be much more intuitive?
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
petermad
Power Member
Power Member
Posts: 16117
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

just a simple list in which one could select an entry to edit or remove. Wouldn't that be much more intuitive?
There actually already is a list (click the buton with the down-arrow) - but it is only a list without any functionality.

A simple right-click menu in that list, with the options to delete or edit - would be a good solution.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

There actually already is a list (click the buton with the down-arrow) - but it is only a list without any functionality.
And it's so hidden, I always forget that it exists. Every single program I know, that allows using and configuring custom shortcuts, shows that list by default so a user can see defined shortcuts at first glance.
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ghisler(Author),
Christian, why don't you want to add such simple thing? :o
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Just choose a different category, and the list will jump to the beginning.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Yes but it is three clicks (open command browser, choose category, OK). It would be much easier to 'erase' command from read-only field by single keypess w/o opening command browser al all.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

I'd rather see the check that's required to press whenever you create a hotkey, changed to a X hotkey delete button.

Personally, I almost always forget to press the checkbox when creating a hotkey --- and it makes absolutely no sense that [Apply] will not work, nor does [OK]. Windows has had standard dialogs/configs for a damn long time. Any other program (ANY OTHER PROGRAM) that has a config will apply changes you make if you click [OK] or [Apply] (if it has an apply button)... and it will NOT activate the changes you make if you click [Cancel]. That everything in TC's Config works like that except for hotkeys, is a confusing anomoly.

If the Check was replaced with a X - to delete the hotkey, and Apply/OK would activate a changed/new hotkey - makes a heck of a lot more sense than the current behaviour.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Balderstrom wrote:it makes absolutely no sense that [Apply] will not work, nor does [OK].
Pressing is required only if you need to define two or more hotkey, and it is logic as how TC know that you finished creating the current hotkey and want to define new one.

The bad thing is that pressing will save directly to the Wincmd.ini, some new users may play with this button thinking they will press Cancel at last and nothing will changed, but unfortunately this isn't true.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Guess that's changed somewhat, an [OK] wouldn't save a hotkey before, and I stopped using the assign hotkey interface within TC as other options worked better for me - such as AHK or TwinKey.

TwinKey lets you TYPE the keys you want to assign, and can distinguish between Left and Right modifier keys - much like AHK can do in that regard. And AHK gives far more flexibility than a single command.

OT:
Now what would truely be useful is the ability to assign hotkeys to Buttons directly, instead of to a user-defined command, which then must be assigned to a button. Then almost any action could be hotkey'ed - but thats another thread and another day.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
jebediah
New Member
New Member
Posts: 1
Joined: 2012-09-05, 20:28 UTC

Post by *jebediah »

ghisler(Author) wrote:Just choose a different category, and the list will jump to the beginning.
Yeah, great.

Except it's extremely unintuitive. So much so that everytime I think of adding/changing hotkeys I have to google it... and i've been using this program since well before the name change.

So this time, i wanted to remove a hotkey that I'd added gods only know how long ago, and couldn't figure it out, again (obviously I rarely use the facility) and it's not in the help.

Nobody's asking for an overhaul or even a redesign, tho it could probably use it (isn't it basically the same as it was 12 yrs ago?). a "clear hotkey" button of some sort and maybe change the check mark to "save hotkey" would make it much cleaner. in other words, all that was asked for is a smattering of convenience.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

What about adding this little change to TC 9?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Or maybe even small additional button for removing hotkey.
I think this would be a better idea - backspace is already used to delete a character from the quick search.
Author of Total Commander
https://www.ghisler.com
Post Reply