"Copy" (ctrl/cmd+c) on a selected url copies the url into the clipboard
Categories
(DevTools :: Netmonitor, enhancement, P3)
Tracking
(firefox74 fixed)
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: m+mozilla, Assigned: ksenia, NeedInfo)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:71.0) Gecko/20100101 Firefox/71.0
Steps to reproduce:
[Feature Request]
"Copy" (ctrl/cmd+c) on a selected url copies the url into the clipboard
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Some instruction for anyone interested in this bug:
-
Here is a place where we handle key-shortcut for opening the Search panel
https://searchfox.org/mozilla-central/rev/5cb522c7baba24e55874809e0e206b001494c1e9/devtools/client/netmonitor/src/components/Toolbar.js#178 -
we can introduce a new similar handler for copying the URl
this.shortcuts.on(COPY_URL_KEY_SHORTCUT, event => {
event.preventDefault();
// get selected request and copy its URL into the clipboard
});
- Here is a place showing how to get the selected request
https://searchfox.org/mozilla-central/rev/5cb522c7baba24e55874809e0e206b001494c1e9/devtools/client/netmonitor/src/components/MonitorPanel.js#246
Similar thing should be done in the Toolbar component (mentioned in #1)
Honza
Updated•5 years ago
|
Comment 3•5 years ago
|
||
I would like to work on this issue.
Assignee | ||
Comment 4•4 years ago
|
||
If :shivamrawat6670 is not working on this, is it ok to take it?
Comment 5•4 years ago
|
||
(In reply to Ksenia Berezina [:ksenia] from comment #4)
If :shivamrawat6670 is not working on this, is it ok to take it?
Absolutely, thanks for the help!
Honza
Assignee | ||
Comment 6•4 years ago
|
||
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2e32694af97f Add a listener to be able to "Copy" (ctrl/cmd+c) a selected url to the clipboard r=Honza
Comment 8•4 years ago
|
||
bugherder |
Description
•