WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
269662
Copy Image results in URL paste rather than Image pasted
https://bugs.webkit.org/show_bug.cgi?id=269662
Summary
Copy Image results in URL paste rather than Image pasted
webkit
Reported
2024-02-17 21:39:34 PST
Currently, clicking "Copy Image" results in both the image AND the image URL getting copied to the clipboard. While on first thought it would seem like this is beneficial, when you actually go to paste, the OS (at least macOS) pastes the image URL rather than the actual image. This is not ideal because one could use the Copy Image Address if that was the intention. Other browsers (i.e. Chrome) copy only the image and not the image url when copying the image.
Attachments
Add attachment
proposed patch, testcase, etc.
Karl Dubost
Comment 1
2024-02-21 04:42:10 PST
Thanks for the report, It depends on the context of the paste no? copy Image on a wikipedia photo: and paste in this textarea: Safari
https://en.wikipedia.org/wiki/File:Caf_hardman.jpg
Firefox [nothing] Chrome [nothing] The behavior of Safari seems useful. I guess it makes easier for people to have a behavior where the form is not clear if it will take only text or also the full image.
webkit
Comment 2
2024-02-21 23:50:38 PST
You're right that it is more dynamic in the case that you're pasting to somewhere that does not accept the full image -- however, it is with the caveat that it kneecaps the functionality that most people use it for. It is usually fairly obvious when the paste destination will accept text only, and is it not explicitly for that case that we have the "Copy Image Address" option?
Alexey Proskuryakov
Comment 3
2024-02-23 13:51:50 PST
Could you please provide some specific scenarios where this causes poor user experience? If it's just one or two cases, that could be considered a bug on the receiving end that they prefer string to image. In particular, coming an image from Wikipedia in Safari and pasting to Messages results in the image being pasted, not the URL. So I do not how to reproduce a misbehavior.
Radar WebKit Bug Importer
Comment 4
2024-02-24 21:40:14 PST
<
rdar://problem/123580826
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug