"Copy Image" copies the address when the image is part of HTML
Reported by
thinknir...@gmail.com,
Jan 8 2017
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36 Steps to reproduce the problem: 1. Go to http://dilbert.com/strip/2017-01-07 2. Right-click the comic strip 3. Select "Copy Image" 4. Open a chat program (Skype, for example) 5. Paste the clipboard contents in the message box What is the expected behavior? The image content has to be pasted. What went wrong? The URL of the image is pasted instead of the image. Did this work before? Yes Chrome version: 55.0.2883.95 Channel: stable OS Version: OS X 10.12.2 Flash Version: Shockwave Flash 24.0 r0 1. Now right-click on the same strip and choose "Open Image in New Tab" 2. Then copy the image in the new tab 3. Try pasting the clipboard contents in Skype, and the image is pasted properly
,
Jan 11 2017
I just tried pasting inside WhatsApp Web, and it's working as intended. So it seems something about the copied data is different when done from within a page with HTML contents and from when an image is open is separate tab.
,
Jan 13 2017
When there are multiple representations of the content on the clipboard (in this case, there's the image date and the URL of the image), the pasting app has to decide which representation to choose. When copying the image after opening it in its own tab. it looks like Chrome is not adding the URL to the clipboard, so all that is available to paste is the image data. |
||
►
Sign in to add a comment |
||
Comment 1 by brajkumar@chromium.org
, Jan 10 2017Labels: Needs-Feedback