Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Fixed Custom shortcuts do not work in TCMD 36.50

Apr
36
0
Assigning custom shortcuts (Options -> Customize -> Keyboard) does not work properly in TCMD 36.50.
  • assign a new shortcut, say, Home -> Close Tab -> Alt+X
  • it will be added to the Home menu and work flawlessly
  • restart TCMD
  • the shortcut will be gone and it is not recorded in the INI-File
Existing shortcuts, that is, shortcuts defined prior to v36.50, still are present in the INI-File, but will not be loaded. They are neither shown in the Customize -> Keyboard dialog nor are they present in the menu. This is true for both versions of the menu.
 
I can't reproduce any problem with creating & saving & reloading shortcut keys.

It's unclear to me how you know the shortcut is or is not recorded in the INI file. Shortcuts are saved in a binary blob (not user-readable) assigned to the Accelerators key in the [CommandBars] section in TCMD.INI. Do you have that section and key in your INI file?
 
The following are two excerpts of my INI-file:

[CommandBars]​
StatusBarPanes=0=1;59202=1;59203=1;59209=1;59201=1;59200=1;59137=1;59138=1;59139=1;59204=1;59205=1;59206=1​
Accelerators=DCBOAAAAFAAAOCAAAAAAAAAACCBOAAAAJAAANCAAAAAAAAAAFCBOAAAAFAAANCAAAAAAAAAACBCAAAAABBAABCAAAAAAAAAABBCAAAAABBAACCAAAAAAAAAAPACAAAAABBAAGCAAAAAAAAAAABCAAAAABBAAICAAAAAAAAAAOACAAAAABBAAFCAAAAAAAAAANACAAAAABBAAHCAAAAAAAAAADBCAAAAABBAAECAAAAAAAAAAEBCAAAAABBAADCAAAAAAAAAALACAAAAABBAALGAAAAAAAAAAMACAAAAABBAANGAAAAAAAAAAIDAIAAAABAAAEHAAAAAAAAAAEICAAAAAFBAANAAAAAAAAAAAKJAAAAAABBAANAAAAAAAAAAABCIOAAAABBAAJEAAAAAAAAAAACIOAAAABBAADFAAAAAAAAAAOPBAAAAABBAABEAAAAAAAAAAAACAAAAABBAAEEAAAAAAAAAALPBAAAAABBAACFAAAAAAAAAAKPBAAAAABBAAIFAAAAAAAAAAJPBAAAAABBAAOEAAAAAAAAAAPIAAAAAABBAAGEAAAAAAAAAAADKCAAAABBAAHEAAAAAAAAAA​
AcceleratorsVersion=1​
and

[Settings\NormalLayout\Shortcuts\Shortcut20]​
Id=507​
Key=Alt+R​
[Settings\NormalLayout\Shortcuts\Shortcut21]​
Id=506​
Key=Alt+X​
[Settings\NormalLayout\Shortcuts\Shortcut22]​
Id=505​
Key=Alt+N​

These are from the backup of my INI-file, which was last changed by TCMD 36. I am not sure where the "[Settings\NormalLayout\Shortcuts\Shortcut..]" entries are coming from, but I think TCMD v36 was still updating them.

OK, here is something to test on your side.
  • Exit TCMD.
  • Edit the INI-file: delete everything following [TakeCommand], that is, clear the TCMD configuration.
  • Start TCMD
  • Use Options -> Custimize to assign a shortcut, say, Home -> Close Tab -> Alt+X
  • Exit TCMD by pressing Alt+X
  • Start TCMD
  • Shortcut is still there and working (press Alt+X)
  • Start TCMD
  • Open TCMD options dialog, go to tab "Advanced" and check "Visual Studio-style menus"
  • Do not change anything else and click OK.
  • Exit TCMD
  • Start TCMD
  • shortcut is gone
I must admit, I have no idea which one of the many entries in the INI-file, that get created by the options dialog, is responsible for disabling the shortcut keys (but disabled they are).

Hope this helps.
 
OK, it's working now, thanks.

I'm unsure, so what do you prefer?
  • positive feedback, or
  • no feedback if the issue is, in fact, fixed
 
Back
Top