[webkit-gtk] How to get a snapshot of an unmaped WebView ?

Andres Gomez tanty at igalia.com
Tue Mar 19 03:28:41 PDT 2019


In case this could be relevant:
https://gitlab.gnome.org/GNOME/epiphany/issues/259

On Mon, 2019-03-18 at 16:44 +0100, Cédric Bellegarde wrote:
> Hello,
> 
> I just migrate from Xorg to Wayland and looks like Eolie is segfaulting on Wayland:
> https://bugs.webkit.org/show_bug.cgi?id=195880
> 
> It works on Xorg but on Wayland, I get:
> (org.gnome.Eolie:1875): Gdk-CRITICAL **: 16:28:07.862: gdk_window_create_gl_context: assertion 'GDK_IS_WINDOW (window)' failed
> ./run.sh : ligne 1 :  1875 Erreur de segmentation  (core dumped)eolie
> 
> Previous code was a big big hack: 
> taking webview, put it in a Gtk.OffScreenWindow to map() and then moving it again to my stack. Was ugly but working.
> 
> So, I just replaced this code by another non segfaulting stupid alternative:
> https://gitlab.gnome.org/World/eolie/commit/d85ddb44c685dfa6e039edf4216d86a7f557b349
> 
> My question is: What is the correct way to get a snapshot of an unmapped webview?
> 
> regards,
> --
> Cédric Bellegarde
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-gtk
-- 
Br,

Tanty
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20190319/486ba63d/attachment.bin>


More information about the webkit-gtk mailing list