Add a keyboard shortcut to launch the eyedropper
Categories
(DevTools :: Inspector, enhancement, P2)
Tracking
(relnote-firefox 143+, firefox143 fixed)
People
(Reporter: canuckistani, Assigned: gtn)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-needed, Whiteboard: [btpp-fix-later])
Attachments
(3 files, 1 obsolete file)
Comment 2•10 years ago
|
||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
Comment 9•10 years ago
|
||
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
Updated•10 years ago
|
Comment 13•10 years ago
|
||
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Comment 16•10 years ago
|
||
Updated•10 years ago
|
Comment 17•10 years ago
|
||
Updated•10 years ago
|
Comment 18•10 years ago
|
||
Comment 19•10 years ago
|
||
Comment 20•10 years ago
|
||
Comment 21•10 years ago
|
||
Updated•10 years ago
|
Comment 23•9 years ago
|
||
Comment 24•9 years ago
|
||
Comment 25•9 years ago
|
||
Comment 26•9 years ago
|
||
Comment 27•9 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Comment 28•9 years ago
•
|
||
Comment 29•8 years ago
|
||
Comment 30•8 years ago
|
||
Comment 31•8 years ago
|
||
Comment 32•8 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Updated•6 years ago
|
Comment 33•6 years ago
|
||
Any update on this?
Comment 34•4 years ago
|
||
Hello from the future :)
Maybe we can mark this as good first bug to attract someone?
Until then one can use "Alt + T + B + Y" :D
| Comment hidden (metoo) |
Updated•3 years ago
|
| Comment hidden (advocacy) |
Updated•2 years ago
|
| Assignee | ||
Comment 37•10 months ago
|
||
Hi, is this still an issue ? I've got some spare time and I'm looking for some easy issues to start with :)
Comment 38•10 months ago
|
||
Yep, there's no shortcut for eyedropper at the moment.
Comment 39•10 months ago
|
||
Gaétan, I've assigned the bug to you now! Regarding my previous comment about which shortcut to choose, I'd still say Ctrl+Shift+Y. Ctrl+Shift+E is now taken by the Network panel and Ctrl+Alt+E is for the Euro sign.
Sebastian
| Assignee | ||
Comment 40•10 months ago
|
||
I have a first version working (still need tests and a bit of cleanup), but it only works when the inspector is opened, is that the desired behavior ? Or should I make it work even when it's not opened ? Because then Ctrl+Shift+Y is already the shortcut for the library.
Comment 41•10 months ago
|
||
it only works when the inspector is opened, is that the desired behavior ?
DevTools already registers too many shortcuts, so it should only work when the inspector is opened and focused.
Comment 42•10 months ago
|
||
The desired behavior is so it would not depend on the inspector. The idea is akin to helping artists pull out a desired color from an image they see in the browser.
Comment 43•10 months ago
|
||
(In reply to tsukiyomaru0 from comment #42)
The desired behavior is so it would not depend on the inspector. The idea is akin to helping artists pull out a desired color from an image they see in the browser.
Maybe an addon would be a better fit for this specific request? https://addons.mozilla.org/en-US/firefox/addon/colorzilla/ seems to do what you expect.
As I said, DevTools already registers too many global shortcuts. A patch adding a new shortcut which doesn't depend on DevTools being open will not be accepted.
| Assignee | ||
Comment 44•10 months ago
|
||
So, I write some tests and submit a patch, making it available only when the inspector is opened. Does that seem good to you ?
Comment 45•10 months ago
|
||
(In reply to Gaétan Fine from comment #44)
So, I write some tests and submit a patch, making it available only when the inspector is opened. Does that seem good to you ?
Sounds good, thanks!
| Assignee | ||
Comment 46•10 months ago
|
||
| Assignee | ||
Comment 47•10 months ago
|
||
Updated•9 months ago
|
Comment 48•9 months ago
|
||
Comment 49•9 months ago
|
||
Comment 51•9 months ago
|
||
Ah slightly bad timing, this landed right after Bug 1980576 landed, which introduced breaking changes for the test.
Comment 52•9 months ago
|
||
Comment 53•9 months ago
|
||
| bugherder | ||
Updated•9 months ago
|
Comment 54•8 months ago
|
||
A bit late, though maybe it can be added to the release notes at https://www.firefox.com/en-US/firefox/143.0/releasenotes/ and maybe https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/143.
[Why is this notable]: Long requested webdev feature
[Affects Firefox for Android]: no
[Suggested wording]: When the Inspector is focused, you can now launch the eyedropper to pick a color via the keyboard shortcut Ctrl+Shift+Y.
[Links (documentation, blog post, etc)]: none I know of, should probably be added to https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/how_to/inspect_and_select_colors/index.html and https://firefox-source-docs.mozilla.org/devtools-user/keyboard_shortcuts/index.html.
Description
•