Closed Bug 906162 Opened 11 years ago Closed 7 years ago

Copying from the web console does not work (undocked toolbox)

Categories

(DevTools :: Console, defect, P2)

26 Branch
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: john.firebaugh, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release) Build ID: 20130816030205 Steps to reproduce: Right-clicked a line in the web console and selected "Copy". Pasted into this text field. Actual results: The text that was already in my clipboard, before selecting "Copy", was pasted. Expected results: The text from the error in the web console should have been on the clipboard and pasted.
Thanks for reporting this. Have you notice this behavior only copying text in the Web Console? Could you try if it happens in Firefox safe mode? https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?redirectlocale=en-US&redirectslug=Basic+Troubleshooting#w_3-restart-firefox-in-safe-mode It WFM on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:26.0) Gecko/20100101 Firefox/26.0 BuildID: 20130819030205
Flags: needinfo?(john.firebaugh)
It isn't 100% reproducible. Sometimes it works when the Web Console is docked in the window, but not when it is shown in a separate window, sometimes the reverse. If you can't reproduce it, try docking or undocking the web console.
Flags: needinfo?(john.firebaugh)
I can reproduce this when Wen Console is not docked at least 60% of times. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0 ID:20130815180504 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:26.0) Gecko/20100101 Firefox/26.0 ID:20130819030205
Component: Untriaged → Developer Tools: Console
I cannot confirm this bug in Firefox nightlies on Linux. Can you please retest with a Firefox nightly and let us know if this bug still occurs? Thank you!
Yes, this occurs with Nightly 26.0a1 (2013-08-21).
Is this bug MacOSX only? Can anyone reproduce on Linux or Windows? I use Ubuntu 12.04. Does it happen in the browser console and web console, or only one of the two? Which type of errors cannot be copied? Can you please provide a page that generates an error you cannot copy?
I am able to reproduce on OS X 10.8.4 with Nightly 2013-08-21. I can reproduce without being on a specific page. I just opened the Web Console on this page and typed "bob" and tried to copy both my input line and the resulting ReferenceError. The specific message does not need to be an error. Copying any line fails to modify the clipboard. However, like other commenters mentioned, I only see an issue when I undock the Web Console into a separate window. If it is docked to the bottom or side, copying works correctly. The Browser Console is not affected, as copying from there works fine.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: copying an error from the web console does not work → Copying from the web console does not work
thanks for the extra steps to reproduce this, jrayns. Sounds like we're not installing our keybindings properly when undocked. Need a volunteer.
Depends on: 909246
Ryan, thanks for testing and for the extra STR. When undocking the toolbox the Copy context menu item is also disabled. It seems we break command controllers as well, or something. Since bug 760876 landed cmd_copy is no longer handled by the web console itself - it is left up to the native code.
OS: Mac OS X → All
Priority: -- → P2
Hardware: x86 → All
Summary: Copying from the web console does not work → Copying from the web console does not work (undocked toolbox)
4 years old bug with no activity. And this seems to be working for me now. Closing.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.