-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Click on the "id" button from "show_ids" does nothing in Firefox 57 #150
Comments
Works fine for me on Firefox 57. |
Are there any errors appearing in the browser JavaScript console? |
none, none of id buttons produces anything in "browser console" or any other console. where should I look at? |
No idea. It works fine here on Firefox 57.0.4, so I know it's not completely broken in Firefox... |
@aik Any chance of getting a screencast so we can see what you're trying to do. Also working here with both Firefox and Chromium. I assume you don't have JavaScript disabled? |
no cast, sorry. and I simply click on the id button. I used a default FF profile with no addons or other adjustments so JS should just work. Same happens on @mpe 's FF so it is probably not "mate" desktop fault. |
So I have a theory about what might be the issue here. @aik and @mpe, are you talking about the ^C/^V clipboard, or the selection/middle-mouse/shift-insert clipboard? The javascript will put the ID in the ^C/^V clipboard, not the old-school shift-insert clipboard. If you're wanting it to put it in the shift-insert clipboard, that would be pretty easy for us to do. Regards, |
left click on the id button and then middle click in the mate-terminal - which clipboard is it? |
Ah, that's not the clipboard we are copying to! If you press
Control-Shift-V it should paste into the terminal.
I will write a patch that copies into the clipboard you use.
…On Fri, Jan 26, 2018 at 12:20 AM, Alexey Kardashevskiy < ***@***.***> wrote:
left click on the id button and then middle click in the mate-terminal -
which clipboard is it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADJ5BebwdJfzP7Mirx2owy3RAa99Xijxks5tOH-TgaJpZM4RXX8T>
.
|
I'd no idea that was even a thing 😮 Interesting... |
Yes you're right. To be pedantic that's the "CLIPBOARD" (Ctrl-v) vs the "PRIMARY SELECTION" (shift insert). I guess Chromium copies to both by default. Up to you whether you think it's patchwork's job to care about that level of detail. But I guess if it's easy to copy to both then that would be preferable. |
codemirror/codemirror5#931 looks related. Per that, this may be an issue with Firefox |
@daxtens I take it you didn't get anywhere with this? Having done a bit of Googling about the subject - I'm going to close this as it looks to be a Firefox limitation, not explicitly documented anywhere. |
Firefox 71b06, the issue persist. Please make it text. Thanks. |
NAK 🔨 |
Yeah mpe mode is going to stay I think, if anything this should be reported as a bug in Firefox |
and what is the bug to report exactly? I complained about the design when text is not text == not selectable. My proposal replaces a single click with a double click (which is what the rest of linux UI does), yours is what, switch to chromium? ah, never mind, there are weirded things with pw anyway. |
Firefox's behaviour when using Document.execCommand() to copy text to the clipboard on Linux is to copy into CLIPBOARD but not PRIMARY, while Chrome does both. That is certainly unexpected to me and would be worthy of a bug report to Mozilla. The single-click to copy behaviour is there due to specific user request. Having single-click copy buttons is fairly standard in web-based developer tools these days - though admittedly ours is not quite as discoverable as I'd like it to be. |
It is not "fairly standard" and where it exists - it is a text box with a "copy" button next to it. |
Still find it very annoying that the id is not a selectable text anywhere on a page or url but just a button. I constantly paste entire patches to the console and ruin the shell history. |
$(subj). It is supposed to copy to clipboard or something. Cannot it be just text so doubleclick on it could copy it to the clipboard?
The text was updated successfully, but these errors were encountered: