Linux Debugger Window: Mouse selection doesn't appear in X11 primary buffer
Categories
(Core :: DOM: Events, defect)
Tracking
()
People
(Reporter: johannes.thraen, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.9.5 Chrome/56.0.2924.122 Safari/537.36
Steps to reproduce:
Click Menu-> Web Developer -> Debugger -> Select text in debugger window on linux
Actual results:
Selected text did not end up in primary selection buffer. It could not be pasted into antother text field with middle mouse click.
Expected results:
Selected text should have ended up in primary selection buffer. It should have been pastable into antother text field with middle mouse click.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Debugger' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•4 years ago
|
||
Hello, thanks for the report!
I am not sure what you mean by: "Click Menu-> Web Developer -> Debugger -> Select text in debugger window on linux"?
Are you simply talking about open the Debugger panel and select a source code in it?
Also it isn't clear to me that you mean by "Selected text did not end up in primary selection buffer.'
Here is what I've tried:
- Open Developer Tools (e.g. F12 on Win, or
Menu-> Web Developer -> Debugger) - Select the Debugger panel (if not selected by default)
- Select any source code in the panel
- Press Ctrl+C to copy the selection to the Clipboard (or use context menu "copy to clipboard")
- The text should be in the clipboard => Works for me
Could you please provide similar (detailed) instructions for your case?
Thank you!
Honza
| Reporter | ||
Comment 3•4 years ago
|
||
Hi,
Are you simply talking about open the Debugger panel and select a source code
yes
This is about the Linux X PRIMARY selection buffer, you tried the CLIPBOARD buffer.
Selecting the text (without pressing ctrl-c) should make the text available for pasting with middle click.
Thanks for looking into it :)
Comment 4•4 years ago
|
||
Thanks for the update.
We are using CodeMirror (https://github.com/codemirror/CodeMirror) to show JS sources in the Debugger panel and this component is apparently not supporting primary selection buffer in Firefox (due to missing platform support)
See also: https://discuss.codemirror.net/t/primary-selection-buffer/765
I think core Firefox platform should be fixed to support the primary selection buffer (at least) on Linux.
I am moving it to Core -> DOM Events since the discussion above says: "Firefox doesn’t provide the events needed to do this, so there it doesn’t work."
Honza
Comment 5•4 years ago
|
||
Since it's codemirror related, it's a duplicate of Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1593761
Description
•