Bug 78723

Summary: REGRESSION: "Copy image" fails...copies image URL instead
Product: WebKit Reporter: albo
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, enrica
Priority: P1 Keywords: InRadar, Regression
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.7   
URL: http://psdgraphics.com
Attachments:
Description Flags
Patch aestes: review+

Description albo 2012-02-15 10:23:52 PST
At any image on which "Copy Image" is selected, nightly Version 5.1.3 (7534.53.10, r107802) fails to copy the image and place it upon the clipboard. An example may be tested at the cited URL, but this occurs at *any* website upon which "Copy Image" is attempted.

To reproduce:

Go to a website with an image.

Place the cursor over an image.

Control+click.

Select "Copy Image"

Go to an image editor. (For this example, try GIMP.)

In GIMP, try File==>Create==>From Clipboard

Resulting "Gimp Message" is "There is no image data in the clipboard to paste."

(Try the same in Pixelmator. File==> New using Clipboard as Template. Then Edit==> Paste. What is "pasted" is the URL of the image.)

This behavior does not occur in Safari Version 5.1.3 (7534.53.10), Chrome 17.0.963.46, Firefox 11.0, Opera 11.60 1185, or Camino Version 2.1 (1.9.2.24 20111113195207). OS is 10.7.3
Comment 1 Alexey Proskuryakov 2012-02-15 10:33:40 PST
<rdar://problem/10869104>
Comment 2 Enrica Casucci 2012-02-15 12:04:41 PST
I'm investigating now.
Comment 3 Enrica Casucci 2012-02-15 15:46:56 PST
Created attachment 127256 [details]
Patch
Comment 4 Enrica Casucci 2012-02-15 16:47:16 PST
http://trac.webkit.org/changeset/107856