When I open a page with integrated flash video plugin, the plugin frame remain black; and after a while a can here the sound, but cannot see video... Linux jaunty 2.6.28-11-generic #39-Ubuntu SMP Thu Apr 2 04:39:54 UTC 2009 x86_64 GNU/Linux arora 0.5-0ubuntu1 $ arora Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk- 2.0/modules/libcanberra-gtk-module.so: mauvaise classe ELF: ELFCLASS64 *** NSPlugin Wrapper *** ERROR: failed to initialize brower-side RPC events listener OpenOffice path is '/usr/lib/openoffice' OpenOffice path is '/usr/lib/openoffice' (npviewer.bin:7725): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so: mauvaise classe ELF: ELFCLASS64 *** NSPlugin Wrapper *** WARNING: unhandled variable 18 in NPP_GetValue() *** NSPlugin Viewer *** ERROR: NPN_GetValue() invoke: Message timeout *** NSPlugin Viewer *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw- viewer.c:862):invoke_NPN_GetValue: assertion failed: (rpc_method_invoke_possible(g_rpc_connection)) *** NSPlugin Viewer *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw- viewer.c:862):invoke_NPN_GetValue: assertion failed: (rpc_method_invoke_possible(g_rpc_connection)) *** NSPlugin Viewer *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw- viewer.c:862):invoke_NPN_GetValue: assertion failed: (rpc_method_invoke_possible(g_rpc_connection)) *** NSPlugin Viewer *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw- viewer.c:808):invoke_NPN_GetURLNotify: assertion failed: (rpc_method_invoke_possible(g_rpc_connection)) ^C
Created attachment 40521 [details] White plugin bug patch This patch corrects the white plugin bug which happened some times. What happened is that the out-of-process plugin was not able to create its window under our xembed container since the window did not exist yet in the X server.
Created attachment 40522 [details] Unstable initialization+error message fix patch This patch fix the other part of the bug, the error message and some instabilities with the plugin
The canberra-gtk-module error message is unrelated to the unexpected behavior. This is a ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/369498
Comment on attachment 40522 [details] Unstable initialization+error message fix patch r+
Comment on attachment 40521 [details] White plugin bug patch Jocelyn is not a committer, so marking this cq+.
Comment on attachment 40522 [details] Unstable initialization+error message fix patch Jocelyn is not a committer, so marking this cq+.
Comment on attachment 40521 [details] White plugin bug patch Clearing flags on attachment: 40521 Committed r49053: <http://trac.webkit.org/changeset/49053>
Comment on attachment 40522 [details] Unstable initialization+error message fix patch Clearing flags on attachment: 40522 Committed r49054: <http://trac.webkit.org/changeset/49054>
All reviewed patches have been landed. Closing bug.
I think that such a change would require a comment in the source code, like: // sync our XEmbed container window creation before sending the xid to plugins. QApplication::syncX(); This way we minimize the change that it will be removed by accident in the future.
Created attachment 40867 [details] White plugin bug patch v2 Re-add the QApplication::syncX() line for plugin windows removed by r49169 (as Kenneth predicted). Also changed the location of the sync just after the creation instead of just before sending it to the plugin. This reduces the number of unnecessary XSync. I took the opportunity to add a comment in the code :)
Correction patch re-added, reopening. (Necessary?)
Comment on attachment 40867 [details] White plugin bug patch v2
Comment on attachment 40867 [details] White plugin bug patch v2 Clearing flags on attachment: 40867 Committed r49300: <http://trac.webkit.org/changeset/49300>