[Webkit-unassigned] [Bug 151132] New: [GTK] Runtime critical warnings when closing a page containing windowed plugins
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 11 03:12:38 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=151132
Bug ID: 151132
Summary: [GTK] Runtime critical warnings when closing a page
containing windowed plugins
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: Gtk
Severity: Normal
Priority: P2
Component: WebKit Gtk
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cgarcia at igalia.com
CC: bugs-noreply at webkitgtk.org, gns at gnome.org,
pnormand at igalia.com, zan at falconsigh.net
(WebKitPluginProcess:31915): Gtk-CRITICAL **: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
This is because our plugin widget that is a GtkPlug (derived from GtkWindow) can receive the delete-event signal before NetscapePlugin::platformDestroy is called. The delete-event signal, by default, destroys the window when the signal is not handled. So after the delete-event the GtkPlug is destroyed, but our pointer hasn't been reset. We can handle the delete-event using gtk_widget_hide_on_delete as callback, so that the plugin widget is hidden instead of destroyed.
--
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/20151111/0a4babc1/attachment.html>
More information about the webkit-unassigned
mailing list