[webkit-dev] BadMatch error when using webkit gtk in a window with rgba visual.
Zhe Su
james.su at gmail.com
Tue Jun 9 23:33:53 PDT 2009
Hi,
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:
20:50.170: browser_element.cc:406:
WebViewLoadProgressChanged(Impl=0x1c1bec0, web_view=0x1785080, progress=55)
(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_flat_box: assertion
`style->depth == gdk_drawable_get_depth (window)' failed
(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_shadow: assertion
`style->depth == gdk_drawable_get_depth (window)' failed
(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_flat_box: assertion
`style->depth == gdk_drawable_get_depth (window)' failed
(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_shadow: assertion
`style->depth == gdk_drawable_get_depth (window)' failed
(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_check: assertion
`style->depth == gdk_drawable_get_depth (window)' failed
(lt-ggl-gtk:19180): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth
== gdk_drawable_get_depth (window)' failed
The program 'lt-ggl-gtk' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 4316 error_code 8 request_code 70 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Do you have any idea about this problem? Is it a bug of webkit gtk?
Regards
James Su
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090610/e6c8384e/attachment.html>
More information about the webkit-dev
mailing list