New issue
Advanced search Search tips

Issue 822472 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 797440



Sign in to add a comment

"Copy to clipboard" button on about:gpu needs to format the text better

Project Member Reported by kbr@chromium.org, Mar 15 2018

Issue description

In https://bugs.chromium.org/p/chromium/issues/detail?id=820775#c9 , for example, an Android user is submitting about:gpu information. Because spaces are lost in this output it's very difficult to parse the text. Somehow this needs to be handled a bit better. Perhaps spaces and newlines need to be inserted manually in some places.

This would make GPU bug triage a lot easier.

 
Status: Available (was: Untriaged)
Owner: kainino@chromium.org
Status: Assigned (was: Available)
I have noticed this happening. I don't know what's causing it - I actually haven't been able to reproduce it (the button works correctly for me on Android, Windows, Linux, and Mac).

It definitely should be behaving the same as any copy-paste operation since it is literally issuing select-all and copy commands.

My best guess is that it's getting copied as rich text, and pasting that rich text into certain types of text fields mangles it.
If it's possible, a potential workaround would be to force the copy to be plain-text only.
One way to do this is probably:
* Add a hidden text area
* Assign its contents to the page's innerText
* Copy the text area

Comment 4 Deleted

Labels: -OS-Linux -OS-Android -OS-Windows -Pri-1 -Type-Feature -OS-Mac Pri-2 Type-Bug
So far I can only find two instances (from the same user) of this problem. It should still be fixed, but for now I'm going to lower the priority.

Comment 6 by kbr@chromium.org, Apr 11 2018

Sounds fine. I also wonder whether this might be related to locale.

Labels: -Pri-2 Pri-3
P3 because I don't think we have continued seeing issues with this.

Comment 8 by kbr@chromium.org, Jun 4 2018

Status: WontFix (was: Assigned)
Thanks for checking. Let's close it in that case.

Sign in to add a comment