Hi,<br> My program uses a gtk window with rgba visual to get translucent background effect. When I embed a webkit view into this window, it sometimes crashes with BadMatch error when loading some web page. Error message is:<br>
<br>20:50.170: browser_element.cc:406: WebViewLoadProgressChanged(Impl=0x1c1bec0, web_view=0x1785080, progress=55)<br><br>(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_flat_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed<br>
<br>(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_shadow: assertion `style->depth == gdk_drawable_get_depth (window)' failed<br><br>(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_flat_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed<br>
<br>(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_shadow: assertion `style->depth == gdk_drawable_get_depth (window)' failed<br><br>(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_check: assertion `style->depth == gdk_drawable_get_depth (window)' failed<br>
<br>(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed<br>The program 'lt-ggl-gtk' received an X Window System error.<br>This probably reflects a bug in the program.<br>
The error was 'BadMatch (invalid parameter attributes)'.<br> (Details: serial 4316 error_code 8 request_code 70 minor_code 0)<br> (Note to programmers: normally, X errors are reported asynchronously;<br> that is, you will receive the error a while after causing it.<br>
To debug your program, run it with the --sync command line<br> option to change this behavior. You can then get a meaningful<br> backtrace from your debugger if you break on the gdk_x_error() function.)<br><br> Do you have any idea about this problem? Is it a bug of webkit gtk?<br>
<br>Regards<br>James Su<br>