Closed
Bug 1123097
Opened 11 years ago
Closed 9 years ago
Add a hotkey type to preferences for simple-prefs
Categories
(Add-on SDK Graveyard :: General, enhancement, P2)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: brettz9, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150108202552
Expected results:
It would be handy to have a hotkey type in preferences whose UI asked you to click in the box and then use any combination of keys to define the hotkey. This would be a boon to context menu add-ons which didn't want to commit users to specific hotkeys.
| Reporter | ||
Updated•11 years ago
|
Severity: normal → enhancement
| Reporter | ||
Comment 1•11 years ago
|
||
While I am too occupied to provide a PR, if it helps, I have this code for identifying hot keys: https://gist.github.com/brettz9/8661692
Updated•11 years ago
|
Priority: -- → P2
Comment 2•11 years ago
|
||
(In reply to Brett Zamir from comment #1)
> While I am too occupied to provide a PR, if it helps, I have this code for
> identifying hot keys: https://gist.github.com/brettz9/8661692
If you want to take this bug that would be fine.
| Reporter | ||
Comment 3•11 years ago
|
||
I've added a very tentative, but essentially functional implementation to https://github.com/mozilla/addon-sdk/pull/2021 . No doubt needs a lot of tweaking, etc. This is a first real bug for me (finally got some energy and set up the testing environment).
| Reporter | ||
Comment 4•11 years ago
|
||
While I'm hoping to figure out with your help whether I'm on the right track, I'm also working on a smoother interface for the hotkey selector which makes use of tags. If you click down below where it says "Test 3", you can then see tags chosen instead of text in an input box. I can then see about integrating this interface with the SDK.
Comment 5•10 years ago
|
||
I think we need to find someone willing to mentor and review this patch.
Comment 6•9 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•