New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 679204 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

"Copy Image" copies the address when the image is part of HTML

Reported by thinknir...@gmail.com, Jan 8 2017

Issue description

UserAgent: 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
 
Cc: brajkumar@chromium.org
Labels: Needs-Feedback
Unable to reproduce this issue on Mac OS 10.12 using chrome latest stable #55.0.2883.95 by following steps mentioned in the original comment. Copied the image and pasted in Gmail chat box and observed the image is getting pasted as expected.

Nirmal@ Could you please confirm is this issue is seen only on skype chat? Are you able to reproduce this issue on Gmail chat as well? could you please confirm it from your end.

Thanks!
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.

Comment 3 by shrike@chromium.org, Jan 13 2017

Labels: -Type-Bug-Regression Type-Bug
Status: WontFix (was: Unconfirmed)
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