Summary: | [GTK] Crash when viewing Flash when GtkWindow has an RGBA colormap | ||
---|---|---|---|
Product: | WebKit | Reporter: | kerpz |
Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | mrobinson, nicolas, zaheer.mot |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux | ||
URL: | http://www.kirupa.com/developer/mx/transparency.htm |
Description
kerpz
2010-03-25 20:53:33 PDT
Is it possible for you to get a stack trace for this crash? I dont see the crash on the trunk - 66582 The crash still occurs, im using trunk 67940 How to reproduce the crash: Create a simple application with compositing enable, for alpha blending. Plugin: adobe flash player 10 for linux //////////////////// snippet start here ////////////////////////// .... GdkScreen *screen = gtk_widget_get_screen(main_window); GdkColormap *rgba = gdk_screen_get_rgba_colormap(screen); if (rgba && gdk_screen_is_composited (screen)) { gtk_widget_set_default_colormap(rgba); gtk_widget_set_colormap(GTK_WIDGET(main_window), rgba); } webkit_web_view_set_transparent(WEBKIT_WEB_VIEW(web_view), TRUE); // fullscreen gint width = gdk_screen_get_width(screen); gint height = gdk_screen_get_height(screen); gtk_window_set_default_size(GTK_WINDOW(main_window), width, height); gchar* uri = (gchar*) (argc > 1 ? argv[1] : "http://www.kirupa.com/developer/mx/transparency.htm"); webkit_web_view_load_uri (web_view, uri); .... //////////////////// snippet end here ////////////////////////// Note: It will load normal pages without flash content. Regards, Philip B. I figured out what causes the crash, adobe flash player doesn't use RGBA colormap. The GTK+ port of WebKit1 has been removed. Please reopen if this is still an issue with WebKit2. |