Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove default tbkeys-lite keybindings #170

Closed
silverqx opened this issue Jun 24, 2024 · 6 comments
Closed

How to remove default tbkeys-lite keybindings #170

silverqx opened this issue Jun 24, 2024 · 6 comments

Comments

@silverqx
Copy link

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.

@morat523035
Copy link

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?

@silverqx
Copy link
Author

silverqx commented Jun 24, 2024

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.

@morat523035
Copy link

morat523035 commented Jun 24, 2024

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

@silverqx
Copy link
Author

silverqx commented Jun 24, 2024

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 👍

@silverqx
Copy link
Author

silverqx commented Jun 24, 2024

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 😅

@morat523035
Copy link

Glad you got it working.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants