Summary: | GtkLauncher.exe doesn't draw anything in its webkitwebview | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kalev Lember <kalevlember> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Kalev Lember
2012-02-03 11:49:16 PST
Created attachment 125378 [details]
Create the backing store after WebKitWebView is realized
The widget backing store was created in size_allocate() before the
widget was realized. This wasn't a problem for GtkWidgetBackingStoreX11,
but WidgetBackingStoreCairo's constructor needs the widget's GDK window,
which is is created in realize().
Fixes the WebKitWebView not painting on platforms that use
WidgetBackingStoreCairo, e.g. win32.
Gdk-CRITICAL **: IA__gdk_window_create_similar_surface: assertion `GDK_IS_WINDOW (window)' failed
Comment on attachment 125378 [details] Create the backing store after WebKitWebView is realized Please check if my patch at https://bugs.webkit.org/show_bug.cgi?id=77743 fixes this issue. It should delay the backing store creation until mapping. |