[Webkit-unassigned] [Bug 150303] New: Accessing default web context before gtk_init results in drawing failure (Gtk-WARNING **: drawing failure for widget 'WebKitWebView': invalid value for an input Visual*)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 18 09:24:25 PDT 2015


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

            Bug ID: 150303
           Summary: Accessing default web context before gtk_init results
                    in drawing failure (Gtk-WARNING **: drawing failure
                    for widget 'WebKitWebView': invalid value for an input
                    Visual*)
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: steefhegeman at hotmail.com
                CC: bugs-noreply at webkitgtk.org

On WebKit2GTK+ version 2.10.2, drawing failures occur when (in this order):

1. webkit_web_context_get_default() gets called
2. gtk_init() gets called
3. a window with a WebKitWebView gets shown

In this order, however, no errors occur:

1. gtk_init() gets called
2. webkit_web_context_get_default() gets called
3. a window with a WebKitWebView gets shown

I have attached a minimal example showing this behavior. When running this, the following warnings are printed from time to time:
Gtk-WARNING **: drawing failure for widget 'WebKitWebView': invalid value for an input Visual*

This behavior only started to appear recently, my guess would be from version 2.10.1 onward.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151018/61bd9d29/attachment-0001.html>


More information about the webkit-unassigned mailing list