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

Cédric Bellegarde cedric.bellegarde at adishatz.org
Mon Mar 18 08:44:42 PDT 2019


I just migrate from Xorg to Wayland and looks like Eolie is segfaulting 
on Wayland:

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 

My question is: What is the correct way to get a snapshot of an 
unmapped webview?

Cédric Bellegarde

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20190318/93bb3c68/attachment.html>

More information about the webkit-gtk mailing list