New issue
Advanced search Search tips

Issue 729881 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 31
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

javascript alert() text is not selectable and therefore cannot be copied to the clipboard

Reported by ericmini...@gmail.com, Jun 6 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Steps to reproduce the problem:
1. Developer Tools > Console > alert("bet you can't copy this")
2. Or, you know, go to https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_alert and click the "Try It" button

What is the expected behavior?
A pop-up box with text that you can select and copy to the clipboard

What went wrong?
The text in the alert cannot be selected

Did this work before? Yes 57.0.2987.133

Chrome version: 58.0.3029.110  Channel: n/a
OS Version: OS X 10.9.5
Flash Version: 

Discussed with support on Twitter -
 see thread: https://twitter.com/cureffi/status/870655966727024640 and they suggested to file a new issue
 
cantcopythis.png
18.7 KB View Download
Components: -UI Blink>WindowDialog
Status: Untriaged (was: Unconfirmed)
Also in 61.0.3119.0 (today's Canary).

Comment 2 by a...@chromium.org, Jul 10 2017

Owner: a...@chromium.org
This is a consequence of the move to new dialogs. The Cocoa versions don't have selectable text. While the Views dialogs have selectable text on Windows, they don't in the work-in-progress MacViews dialog version.
Labels: -Pri-2 OS-Windows Pri-1
This is a cross platform regression. It is no longer possible to copy from alert() on Windows as well. Tested using Chrome 59.3071.115 on Windows 7 Enterprise.

Do you need a new issue for Control + C not working on Windows (I am not sure it was selectable, it only supported Control + C)?
Status: Fixed (was: Untriaged)
This works on the Mac now with MacViews.
Indeed it is fixed! Thanks so much.

Sign in to add a comment