[Webkit-unassigned] [Bug 164180] [GTK] No way to safely use webkit_web_view_get_snapshot() as pages are not rendered when LOAD_FINISHED is called

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 27 01:47:42 PDT 2018


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

--- Comment #10 from Adrian Perez <aperez at igalia.com> ---
When porting the GIMP's “web-page” plug-in to use modern WebKitGTK+
we have hit this issue as well, as per the comments at:

   https://gitlab.gnome.org/GNOME/gimp/merge_requests/15

It seems that most tools out there are artificially adding a timer
delay before attempting to save snapshots, like for example the
“webkit-capture” Python script which I have used sometimes:

   https://github.com/nud/webkit-capture/blob/e67858eef6265050ffa36644e2ac4b00862538fc/webkit-capture#L158-L160

Having this solved would be nice. I agree that conceptually it does
not make sense to use the WebKitWebView::load-changed signal to notify
about layout completion, because this one is about *network* activity.
Wouldn't it be acceptable to have a new WebKitWebView::layout-completed
signal? Adding a signal would not break the API/ABI, which would remain
backwards-compatible.

-- 
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/20180627/6fa0a842/attachment-0001.html>


More information about the webkit-unassigned mailing list