This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Add-ons shorcuts (commands API) does not work on non-english keyboard layout

  • 5 பதிலளிப்புகள்
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 23 views
  • Last reply by Paul

I have an add-on which listens for "Ctrl+Alt+T" shortcut. It works fine with English (US) keyboard layout, but does not work on the other (Russian in my case). However built-in shortcuts (for example Ctrl+T) do work on Russian layout, so I believe it is a bug.

I have an add-on which listens for "Ctrl+Alt+T" shortcut. It works fine with English (US) keyboard layout, but does not work on the other (Russian in my case). However built-in shortcuts (for example Ctrl+T) do work on Russian layout, so I believe it is a bug.

nexus.chebykin மூலமாக திருத்தப்பட்டது

All Replies (5)

Hi

If this is an issue with an add-on that you have installed in Firefox, I recommend that you contact the developer directly through the support link in the page that you installed the add-on from.

Add-ons for Firefox are developed and supported by a global community of independent developers.

That is my own add-on, which uses commands API. However it does not allow for non-latin letters in shortcuts: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/commands#key_combinations I think that it would be reasonable for Firefox to fire the event regardless my current layout, just like using built-in shortcuts.

nexus.chebykin மூலமாக திருத்தப்பட்டது

I recommend that you ask about this in the dedicated add-ons developers forum at:

https://discourse.mozilla.org/c/add-ons/35

No problem, glad we could point you in the right direction.