Variable captions in Fn bottom bar for keyboard modifiers

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
Helix751
Senior Member
Senior Member
Posts: 231
Joined: 2004-06-16, 21:16 UTC
Location: Chile

Variable captions in Fn bottom bar for keyboard modifiers

Post by *Helix751 »

I don't know if this was asked before and couldn't find it asked, so here it goes:
  1. Improving the Botom bar displaying button actions as variable captions in each button when keyboard modifiers (Ctrl, Alt, Shift) are pressed. Simething like this:

    Code: Select all

    F3        [View}
    Shift+F3  [View selected]
    Alt+F3    [View file (external)]
    Ctrl+F3   [Sort by Name]
    
    This may include description for other actions for custom key assignments when not default (taken from the key config).
  2. Includeg the buttons andd associated actions for F1 thru F12 keys, not just F3-F8... Also, Alt-F4 isn't necessary and would free some space for additional buttons, as the "X" close button is always available in the window caption.
  3. Including (if possible) custom key assigmnents in the menu items. For instance, I have defined since decades already the F1 key for "Reread Source", F2 for "In place rename" and F9 for "Terminal (CMD)".
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *Hacker »

Helix751,
This would require a billion new translations.

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.
browny
Senior Member
Senior Member
Posts: 288
Joined: 2007-09-10, 13:19 UTC

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *browny »

Hacker wrote: 2024-03-05, 11:06 UTC This would require a billion new translations.
Most standard action names already could be found in the main menu.
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *Hacker »

browny,
What about those that couldn't?

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.
joe910
Junior Member
Junior Member
Posts: 37
Joined: 2009-02-23, 03:05 UTC
Location: Peoria, IL USA

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *joe910 »

+ I like the idea. All of the key assignments info is available - I use Ultra TC Editors to get a list of Hotkeys - default and user.

Unfortunately, it is a bit more complex than the example above which included F3, Shift+F3, Alt+F3, and Ctrl+F3. There are other combos such as Shift+Ctrl+F3, Shift+Alt+F3, etc.
User avatar
Helix751
Senior Member
Senior Member
Posts: 231
Joined: 2004-06-16, 21:16 UTC
Location: Chile

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *Helix751 »

Hacker wrote: 2024-03-05, 11:06 UTC Helix751,
This would require a billion new translations.

Roman
Really? These are already in the translations file. The UI just has to get them from the resources file by resource code, I believe. No need to hard-code the actions for each button state. And this way the UI could read custom defined actions as well, not just the predefined ones. And in case there's no translation available (incomplete translation or a new function), then the default English description could be displayed instead.
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
Helix751
Senior Member
Senior Member
Posts: 231
Joined: 2004-06-16, 21:16 UTC
Location: Chile

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *Helix751 »

joe910 wrote: 2024-03-06, 16:13 UTC + I like the idea. All of the key assignments info is available - I use Ultra TC Editors to get a list of Hotkeys - default and user.

Unfortunately, it is a bit more complex than the example above which included F3, Shift+F3, Alt+F3, and Ctrl+F3. There are other combos such as Shift+Ctrl+F3, Shift+Alt+F3, etc.
Indeed yes, but how many modifier combinations are there?

plain key
Shift-key
Alt-key
Ctrl-key
Shift-Alt-key
Shift-Ctrl-key
Ctrl-Alt-key
Shift-Ctrl-Alt-key

And that's all.

Btw: FAR Manager already displays this feature. When a key modifier is pressed, all bottom bar button captions change accordingly.
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *Hacker »

Helix751,
Really?
Really.
These are already in the translations file.
You still need to shorten them to fit into the available space based on the minimum supported screen width (800 px, I believe).
And that's all.
And again with the Windows key.

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.
joe910
Junior Member
Junior Member
Posts: 37
Joined: 2009-02-23, 03:05 UTC
Location: Peoria, IL USA

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *joe910 »

You still need to shorten them to fit into the available space based on the minimum supported screen width (800 px, I believe).
One of my editors handles this differently that could solve this issue. A text file in created during the install with the first nn letters of the command/description. Users can change that file as desired to shorten the text or embellish it.

Another way might be to use 'hints' with full text.

Of course there should be an option to use this or not.
JOUBE
Power Member
Power Member
Posts: 1477
Joined: 2004-07-08, 08:58 UTC

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *JOUBE »

joe910 wrote: 2024-03-07, 17:25 UTC ... A text file ...
Is't the lng file basicly exactly to edit the texts according the needs?
Last edited by JOUBE on 2024-03-07, 18:00 UTC, edited 1 time in total.
User avatar
Helix751
Senior Member
Senior Member
Posts: 231
Joined: 2004-06-16, 21:16 UTC
Location: Chile

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *Helix751 »

Here are screenshots of FAR Manager's bottom bar when different modifier keys and combinations are pressed:

Plain key Image: https://ibb.co/pdW4kZX
Ctrl-key Image: https://ibb.co/4J12w2Q
Alt--key Image: https://ibb.co/Pmq8RFq
Shift-key Image: https://ibb.co/F0x0Nbr
Shift-Ctrl key Image: https://ibb.co/R3tJcYd
Shift-Alt-key Image: https://ibb.co/2WQvwP1
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *petermad »

Maybe just show a tooltip showing the alternative function when a button is hovered and modifier keys are pressed. That would not give problems with space for the text,
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
joe910
Junior Member
Junior Member
Posts: 37
Joined: 2009-02-23, 03:05 UTC
Location: Peoria, IL USA

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *joe910 »

petermad wrote: 2024-03-07, 18:50 UTC Maybe just show a tooltip showing the alternative function when a button is hovered and modifier keys are pressed. That would not give problems with space for the text,
+++
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6498
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *Horst.Epp »

petermad wrote: 2024-03-07, 18:50 UTC Maybe just show a tooltip showing the alternative function when a button is hovered and modifier keys are pressed. That would not give problems with space for the text,
Support +++
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Variable captions in Fn bottom bar for keyboard modifiers

Post by *Hacker »

petermad,
Maybe just show a tooltip showing the alternative function when a button is hovered and modifier keys are pressed.
Or perhaps a tooltip for all modifiers could be shown when hovered even if nothing is pressed?

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.
Post Reply