NEW 210903
[GTK][Stable] Drag of an image converts it into an anchor
https://bugs.webkit.org/show_bug.cgi?id=210903
Summary [GTK][Stable] Drag of an image converts it into an anchor
Milan Crha
Reported 2020-04-23 01:53:46 PDT
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.
Attachments
Carlos Garcia Campos
Comment 1 2020-05-20 08:35:17 PDT
This has been fixed by r261554 and r261570. I might try to fix it in stable branch without merging the reworks (or merging them, I'm not sure...)
Note You need to log in before you can comment on or make changes to this bug.