Open Bug 1469408 Opened 6 years ago Updated 2 months ago

Implement commands API (to allow Android add-ons to create custom keyboard shortcuts)

Categories

(GeckoView :: IME, enhancement, P5)

All
Android
enhancement

Tracking

(Not tracked)

People

(Reporter: zjays, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180605171542

Steps to reproduce:

Wished to create an add-on allowing custom keyboard shortcuts on Firefox Mobile.


Actual results:

This is currently not possible according to: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Differences_between_desktop_and_Android

"extensions for Firefox for Android do not support the following APIs and manifest.json keys: commands and the related commands manifest.json key, as Android tablets and smartphones do not usually have a physical keyboard from which ‘commands’ can be issued."


Expected results:

I was hoping to have the commands API available for Android add-ons. This could allow add-ons with custom keyboard shortcuts to be developed for BlackBerry Priv/KEYone/KEY2 or any other Android device with a paired Bluetooth keyboard.
Summary: Implement commands API (to allow add-ons to use custom keyboard shortcuts) → Implement commands API (to allow Android add-ons to use custom keyboard shortcuts)
Summary: Implement commands API (to allow Android add-ons to use custom keyboard shortcuts) → Implement commands API (to allow Android add-ons to create custom keyboard shortcuts)
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
tracking-fennec: --- → ?
Ever confirmed: true
OS: Unspecified → Android
Hardware: Unspecified → All
Version: unspecified → Trunk
This enhancement would be extremely valuable and greatly appreciated.
Component: General → Android
Product: Firefox for Android → WebExtensions
Priority: -- → P5
Component: Android → Extensions
Product: WebExtensions → GeckoView
tracking-fennec: ? → ---

Moving some keyboard bugs to the new GeckoView::IME component.

Component: Extensions → IME
Severity: normal → S3

Enhancements should have severity N/A.

Severity: S3 → N/A

With desktop modes (plural) and productivity tablets becoming more popular it's pretty sad how Firefox is left in the dust in comparison to Chromium-based browsers in this use-case.

For the devs: how much effort would the implementation of the commands api on Android Firefox take and does it come with other implications?

You need to log in before you can comment on or make changes to this bug.