Closed Bug 1442335 Opened 6 years ago Closed 4 years ago

Include whether a command is "active" or not

Categories

(WebExtensions :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mstriemer, Unassigned)

References

Details

Commands that have shortcuts won't necessarily trigger when that shortcut is executed. If there is another <key> element with the same shortcut earlier in the document (I think this is how it works, should confirm) then that element's command will be triggered instead.

The Command object should be updated to include `active: true|false` based on if this command is currently the top <key> for this shortcut.

In addition, it would be nice to be able to check this when a command is updated, so the updated Command should be returned from `commands.update()`.

Are there any privacy concerns about an extension being able to see what shortcuts are registered in Firefox?
Priority: -- → P3
Product: Toolkit → WebExtensions

For this to be useful, it would have to be paired with an event to let extensions know whether the state has changed.

Considering the lack of activity on this bug for the past two years, there is probably no demand for this feature, so WONTFIX.

Assignee: mstriemer → nobody
Status: NEW → RESOLVED
Type: defect → enhancement
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.