[Webkit-unassigned] [Bug 210903] New: [GTK] Drag of an image converts it into URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 23 01:53:46 PDT 2020


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

            Bug ID: 210903
           Summary: [GTK] Drag of an image converts it into URL
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcrha at redhat.com
                CC: bugs-noreply at webkitgtk.org

When a user adds an image into the HTML and then realizes it's in a wrong place and wants to place it elsewhere, then he/she can drag it. The problem is that the drop converts the image into a URL (and an anchor), instead of keeping it to be an image. Note this is drag in the webkit content, not from the outside. I can reproduce this with 2.24.4 and the trunk at r259630 with these steps:

a) run MiniBrowser: ./MiniBrowser --editor-mode
b) type: text
c) click Insert image and add some, say /usr/share/pixmaps/nobody.png
d) type: another text
e) drag the image after the word "another"

Actual result:

   textanotherfile:///usr/share/pixmaps/nobody.png text

where the file:// URI is underlined, a real anchor.

Expected result:

The image is left to be the image, not converted to a URL.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200423/d78c5982/attachment.htm>


More information about the webkit-unassigned mailing list