[Webkit-unassigned] [Bug 218462] REGRESSION(r261570): [GTK] Drag of unknown type aborted on motion above WebView under X11

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 4 09:16:39 PST 2020


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

--- Comment #4 from Milan Crha <mcrha at redhat.com> ---
(In reply to Michael Catanzaro from comment #2)
> OK wow, so Evolution needs to create a new webview to get the selection data
> (for whatever reason)?

The drag out of the application exports the data into either mbox or pdf format. I have set the PDF. The save to PDF goes through print and it uses webkit for it. The print cannot be done with the existing web view, because it can show a different message/content (or nothing at all, when it's turned off), thus the print creates a new web view and draws the message there.

> And we wind up with two different DropTargets both
> receiving the drop and interfering with each other...?

They are two, yes, but I doubt they both receive the signals, because the new web view (for the print to PDF operation) is not visible, thus the mouse cannot move above it.

> Are you sure? Requesting drag data early to decide whether to accept it is
> allowed by GTK. (What's not really allowed is our delayed async acceptance,
> which could be causing problems....)

It's allowed, because the data should be available immediately, but they are not in this (and other) case(s). See for example [1] and the related [2].

> Hm, does that fix the bug?

Well, it definitely helped and is needed for gtk3, according to my tests. See bug #218562.

I changed the export format to be mbox (not pdf, thus the application doesn't freeze), and the changes from bug #218562 comment #1 do fix this bug for me.

[1] https://gitlab.gnome.org/GNOME/evolution/-/issues/440
[2] https://gitlab.gnome.org/GNOME/gtk/issues/1885

-- 
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/20201104/fffa6fcd/attachment-0001.htm>


More information about the webkit-unassigned mailing list