wshanks/tbkeys

How to remove default tbkeys-lite keybindings

Closed this issue ยท 6 comments

When I remove the default o, f, a, ... keybindings in the Main key bindings section then they are automatically restored. How can I remove them permanently, I want to define my keybindings.

Test input for main key bindings section:

{
  "ctrl+1": "func:toAddressBook"
}
{
  "ctrl+1": "func:toAddressBook",
  "ctrl+2": "func:openAddonsMgr"
}

Did you remember to click the "Save settings" button at the bottom?

Of course, I remove all default bindings, currently, I have only one binding in both sections, every section contains one binding, then click save, close the addons tab, and when I reopen addons and open tbkeys-lite settings again then all default keybindings are back (plus my binding merged into these defaults).

For me it's reproducible every time on the latest Thunderbird.

The addon settings work correctly for me.

tbkeys 2.2.4 (not lite version)
Thunderbird 115.12.1
Windows 10 Pro 22H2 32-bit

Try testing with all addons disabled, except the tbkeys-lite addon. Remember to restart the app.

How addon settings are stored
http://github.com/wshanks/tbkeys/issues/164

Ok, sry, the problem was that I had a comma after the last keybinding like:

{
    "ctrl+shift+a": "func:openAddonsMgr",
}

And that was a reason why it was not saved so the problem was invalid JSON, there is no validation so you don't know if it's saved correctly.

Thx for your help anyway ๐Ÿ‘

And now I also see there is a validation, the textarea is red when the json is invalid, I didn't notice it, so everything is fine and totally my fault ๐Ÿ˜…

Glad you got it working.

Troubleshooting tbkeys addon
http://forums.mozillazine.org/viewtopic.php?p=14872763#p14872763