[Webkit-unassigned] [Bug 38374] REGRESSION(r54368): [Chromium] Text drag-and-drop from input/textarea doesn't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 1 09:19:09 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38374





--- Comment #11 from Daniel Cheng <dcheng at chromium.org>  2010-05-01 09:19:09 PST ---
> The writer should only write the URL type when things look like URLs.

Known issue in NSPasteboard+Utils.mm. See https://crbug.com/42125 for a more
detailed explanation.

>  The reader should be able to support plain text (not just urls) and should just do
a Google search for the contents of the plain text (maybe only supporting it if
the plain text is under some character limit).

The reader does support plain text. Unfortunately, when dragging and dropping,
the order documentFragmentFromDragData checks for content on the dragging
pboard is HTML, then URL, then plain text. Since URL is always populated on Mac
thanks to the bug mentioned in crbug.com/42125, it always tries to drop the
URL--but since there's no title, nothing appears.

We could fix the NSPasteboard+Utils.mm code, but the more general case of
dragging and dropping plain-text URLs between text inputs would still be
broken.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list