paste copied url from safari ios through handoff to mac is empty in web content
Reported by
bruno.on...@gmail.com,
Jun 11 2018
|
||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36 Steps to reproduce the problem: 1. open safari 2. click to center bottom arrow up 3. click to copy icon 4. paste in chrome address bar works 5. paste in chrome element contenteditable is clipboardData empty What is the expected behavior? clipboardData have to have copied object - url, image What went wrong? clipboardData is empty - probably not converted object through chrome Did this work before? N/A Chrome version: 66.0.3359.181 Channel: stable OS Version: OS X 10.13.5 Flash Version: bruno.onlyme@gmail.com
,
Jun 12 2018
,
Jun 13 2018
bruno.onlyme@ Thanks for the issue. Can you please confirm if this issue is related to ios or Mac OS ? Thanks..
,
Jun 13 2018
this issue is related to ios or Mac OS related to "macos" - because "macos chrome" process the data to "url input" but no into "javascript" I tested it more + macos chrome --- url yes - js no + macos safari --- url yes - js no + macos firefox --- url no - js no + macos opera --- url no - js no
,
Jun 13 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 14 2018
I tested it now - paste copied link through "ios safari more button" and paste content in "ios safari contenteditable" in the same device - and it doesn't work either. So I thinking that "paste on chrome url input" is some kind "macos input fields behaviour". At the same time I believe it could be pass into javascript object somehow. Q what do you think?
,
Jun 14 2018
Thanks for your report. I'm afraid I don't understand your repro steps. Can you attach a screencast? You can make one using QuickTime's screen recording feature.
,
Jun 15 2018
I tested it more carefully. That was my some mistake. Therefore I don't attach video. Copy from "mobile safari more button" and paste into "mobile safari html contenteditable" works - OK. Copied object on "mobile safari more button" pasted "through handoff" into "macos chrome url bar input" works - OK. Copied object on "mobile safari more button" pasted "through handoff" into "macos chrome html contenteditable" do not works - NOK. So origin issue - see attachments "safari img01, chrome img02".
,
Jun 15 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 15 2018
Thanks for following up. I still don't quite understand your repro steps - can you please attach a video?
,
Jun 26 2018
[Mac triage] I was able to repro this and attached a screen recording. The issue shows up around the :30 mark. If I copy regular text on my phone and then try to paste it into a textarea on my Mac, it works. If I do that with a URL, no luck (but it works in UI like the omnibox.
,
Jun 26 2018
nice video preview - that's exactly the problem :-)
,
Jul 9
It seems this is issue in Chrome iOS. It works fine on desktop Safari and Chrome.
,
Jul 9
Added a few others on Chrome iOS team for input.
,
Jul 10
The issue is not in Chrome iOS, the repro steps and video don't even mention it. Since URLs copied from either Safari iOS or Chrome iOS show up in the address bar, I suspect that handoff only passes the NSURL clipboard object when the clipboard contains both a URL and a string; then Chrome on Mac doesn't paste it into the content area. Perhaps the content area tries to get kMimeTypeText clipboard contents, which is empty in this case?
,
Jul 13
Mac triage: to avi@ for investigation
,
Jul 24
sdy, since you can repro, can you paste into the PasteboardPeeker, and copy and paste the results from that? I'm curious as to what flavors are on the paste. |
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by junov@chromium.org
, Jun 11 2018