Version: (using KDE 4.1.0) OS: Linux Installed from: Compiled From Sources In Konqueror, when Flash Player 10 release candidate is installed, flash applets sometimes render all white, showing no content. The player is however loaded, as Flash's context menu pops up on right click. It does not happen every time, but can be seen with all applets after refreshing the page a few times. The same version of Flash works in Firefox, and also Flash 9 works in Konqueror properly.
I can confirm this behaviour with Konqueror 4.1.1 and Shockwave Flash 10.0.0 d569 (Flash 10 RC). Looks like a race condition when setting up the flash "canvas", as in 1/3 to 1/2 of cases the flash plugin displays correctly (e.g. when reloading the same page).
Sounds like I need an another round of "what makes flash happy" testing :(
Created attachment 27272 [details] nsplugin* log: failing to display flash video In case it is of help, I have attached two nsplugin logs: 1) nsplugin_flash_nocanvas_firstload Opened a youtube video within konqueror, video does not display 2) nsplugin_flash_canvas_on_reload Hit reload on the youtube page, video appeared Best viewed with kompare :-)
Created attachment 27273 [details] nsplugin* log: correctly displaying flash video
Looks like same issue was already reported in bug 169302.
I can confirm that on OpenSuse 11.0 x86 with flash 10 final
Same here with konqueror-4.1.2, nsplugins-4.1.2 and netscape-flash-10.0.12.36-r1 on a gentoo install. It's fairly reproducible with http://www.theaustralian.news.com.au/ (an Australian newspaper) which has a rather fancy flash animation titled "video" in the right column about a third down the page (contains a list of news video clips you can click on to play them). Even when the page displays correctly (very rarely and only ever on the first try on my machine) CPU usage goes up to 80%-90% most of the time. When the flash fails it tends to eat up to 98% CPU and make the machine very slow. I assume this is somehow connected to the myriad of open "konqueror eats 100% CPU" bugs, at least to the 4 or 5 of them that mention flash. I'd be happy to try to debug this if somebody tells me what I need to do. Thanks and cheers, Jochen
i confirm this bug on kubuntu KDE4 (32 & 64 bit editions). it happens on youtube, even though in some (very rare) cases it works. flash animations on lemonde.fr do not work either. konqueror 3.5.x works fine, though.
*** This bug has been confirmed by popular vote. ***
Same in 4.1.3. Thanks :-)
I can confirm this with kde4-konqueror-4.1.3-54.13 from SuSE running x86_64. I also get the following output: /usr/bin/konqueror http://www.youtube.com/watch?v=N9rRhgMNDlQ konqueror(26708) KHTMLPart::createPart: "There was an error loading the module Netscape plugin viewer. The diagnostics is: The shared library was not found." I also turned on debugging and get the following in .xsession-errors: *** NSPlugin Viewer *** ERROR: NPN_GetURLNotify() invoke: Connection closed *** NSPlugin Viewer *** ERROR: NPN_GetURLNotify() invoke: Connection closed *** NSPlugin Viewer *** ERROR: NPN_GetURLNotify() invoke: Connection closed *** NSPlugin Viewer *** ERROR: NPN_GetURLNotify() invoke: Connection closed I have the flash-plugin 10.0.12.36 installed and updated nspluginwrapper to 1.1.4, though I have the same problem with nspluginwrapper 1.0.0. Everything is working with Konqueror 3.5.10
Exactly the same here, Kubuntu, KDE 4.1.3, 64 bit Tried both the 32 bit plugin via the wrapper and the 64bit flash beta
Same here with kubuntu 64bit, kde4.1.3
Just thought I'd make it clear that this can be worked around by using Flash 9 for the meantime. It's still available here: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz ArchLinux users can use the package 'flashplugin9' in the AUR, other distros probably have something similar.
*** Bug 175055 has been marked as a duplicate of this bug. ***
I have the same bug with the KDE 4.2 Beta 1 32 bit
Bug is in konqueror 4.1.3 with nspluginwrapper 1.1.2
i can also confirm with the following: - Kubuntu 8.10 64-bit - KDE 4.1.3 - Flash player 64-bit version from http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d21.1.linux-x86_64.so.tar.gz
The flash 9 work around only sometimes works and crashes frequently - KDE 4.2 Beta 2
Created attachment 30119 [details] HTML file Replicates embedded flash 10 (youtube video) not working The attachment is a HTML file with a embedded youtube video. Opening it with konqueror on KDE 4.2 Beta 2 or KDE trunk (4.3) displays nothing. Displays fine in firefox.
same problem with openSUSE 11.1, kde 4.2rc, flash 10, intel card... works fine with firefox
I have some konsole output that might help. Konqueror loading my test html file - a GDK_IS_WINDOW (window) fails at line 22. konqueror(32736) KonqViewManager::setCurrentProfile: "webbrowsing" localPath= "/home/lindsay/.kde/share/apps/konqueror/profiles/webbrowsing" konqueror(32736) FixHostUriFilter::filterUri: FixHostUriFilter::filterUri: KUrl("file:///home/lindsay/Documents/Video_Embed_Test.html") konqueror(32736) NSPluginLoader::instance: NSPluginLoader::instance -> 1 konqueror(32736) NSPluginLoader::instance: NSPluginLoader::instance -> 2 konqueror(32736) NSPluginLoader::newInstance: -> NSPluginLoader::NewInstance( parent= 0x8cfe3d0 , url= "http://www.youtube.com/v/mHl6QkC9__8" , mime= "application/x-shockwave-flash" , ...) konqueror(32736) NSPluginLoader::loadViewer: NSPluginLoader::loadViewer konqueror(32736) NSPluginLoader::loadViewer: Running nspluginviewer <unknown program name>(32743)/ main: 2 - parseCommandLine <unknown program name>(32743)/ main: 3 - create KApplication konqueror(32736) NSPluginLoader::loadViewer: sleep konqueror(32736) NSPluginLoader::newInstance: -> ownID ":1.626" viewer ID: "org.kde.nspluginviewer-32736" konqueror(32736) NSPluginLoader::lookup: Looking up plugin for mimetype "application/x-shockwave-flash" : "/usr/lib/firefox/plugins/flashplugin-alternative.so" nspluginviewer(32743) NSPluginClass::initialize: results in 0 nspluginviewer(32743) NSPluginInstance::NPGetValue: results in 0 konqueror(32736) NSPluginLoader::newInstance: <- NSPluginLoader::NewInstance = 0x8ec23f0 konqueror(32736) NSPluginInstance::pluginResized: 425 350 konqueror(32736) NSPluginInstance::resizeEvent: 425 350 false true false konqueror(32736) NSPluginInstance::showEvent: 425 350 true true false konqueror(32736) NSPluginLoader::instance: NSPluginLoader::instance -> 3 nspluginviewer(32743) PluginHostXEmbed::setupWindow: 41957512 425 350 (<unknown>:32743): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed nspluginviewer(32743) NSPluginInstance::NPSetWindow: results in 0 nspluginviewer(32743) NSPluginInstance::timer: getting "http://www.youtube.com/v/mHl6QkC9__8" konqueror(32736) NSPluginInstance::pluginResized: 400 325 konqueror(32736) NSPluginInstance::resizeEvent: 400 325 false true true konqueror(32736) NSPluginInstance::showEvent: 400 325 true true true nspluginviewer(32743) NSPluginInstance::resizePlugin: 425 400 350 325 true nspluginviewer(32743) PluginHostXEmbed::resizePlugin: 67108867 41957512 400 325 (<unknown>:32743): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (<unknown>:32743): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (<unknown>:32743): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (<unknown>:32743): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (<unknown>:32743): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed nspluginviewer(32743) NSPluginInstance::NPSetWindow: results in 0 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 12 (X_ConfigureWindow) Resource id: 0x4000003 konqueror(32736) PluginPart::statusMessage: PluginPart::statusMessage "Requesting http://www.youtube.com/v/mHl6QkC9__8" nspluginviewer(32743) NSPluginInstance::NPNewStream: results in 0 nspluginviewer(32743) NSPluginInstance::NPDestroyStream: results in 0 konqueror(32736) PluginPart::statusMessage: PluginPart::statusMessage "" nspluginviewer(32743) NSPluginInstance::NPNewStream: results in 0 nspluginviewer(32743) NSPluginInstance::NPDestroyStream: results in 0 nspluginviewer(32743) NSPluginInstance::NPNewStream: results in 0 nspluginviewer(32743) NSPluginInstance::NPDestroyStream: results in 0 konqueror(32736) PluginPart::statusMessage: PluginPart::statusMessage "" konqueror(32736) PluginPart::statusMessage: PluginPart::statusMessage "" konqueror(32736) NSPluginLoader::release: NSPluginLoader::release -> 2 konqueror(32736) NSPluginInstance::~NSPluginInstance: -> NSPluginInstance::~NSPluginInstance konqueror(32736) NSPluginInstance::~NSPluginInstance: release konqueror(32736) NSPluginLoader::release: NSPluginLoader::release -> 1 konqueror(32736) NSPluginInstance::~NSPluginInstance: <- NSPluginInstance::~NSPluginInstance konqueror(32736) NSPluginLoader::release: NSPluginLoader::release -> 0 konqueror(32736) NSPluginLoader::~NSPluginLoader: -> NSPluginLoader::~NSPluginLoader konqueror(32736) NSPluginLoader::unloadViewer: -> NSPluginLoader::unloadViewer konqueror(32736) NSPluginLoader::unloadViewer: Shutdown viewer konqueror(32736) NSPluginLoader::unloadViewer: <- NSPluginLoader::unloadViewer konqueror(32736) NSPluginLoader::~NSPluginLoader: <- NSPluginLoader::~NSPluginLoader QProcess: Destroyed while process is still running. konqueror(32736) NSPluginLoader::processTerminated: Viewer process terminated
Just a note: I got flash to work under Konqueror 4.2rc1 using kmplayer: http://mikearthur.co.uk/2007/12/konqueror-with-latest-adobe-flash-howto/ or http://www.gentoo.org/proj/en/desktop/kde/kde-flash.xml
Thanks Ambroz Bizjak! Flash 10 works now with my konqueror 4.1.3 but not with all sites. Youtube video's now work. videosift.com video sometimes work: sometimes I get a shrunken flash video. This site does not work: http://www.zita.be/nieuws/auto/gearboxtv/
I can confirm this bug in KDE 4.1, including all versions up to 4.1.4, and also in KDE 4.2.0. This is on Kubuntu 8.10 32-bit, with all updates, on five separate systems, three with Intel graphics cards and two using Nvidia's proprietary drivers. Can someone at least accept this bug?
Perhaps we should all individually resubmit separate bug reports, because no one on kde appears to give a shit.
I don't see this bug on my system. Flash 10.0 d21 (64bit) Firefox/Konqueror/Arora openSUSE 11.1 x86_64 KDE 4.2
Additional notes: Sometimes I can initially view a random number of flash videos perfectly without a problem, but then they all fail to load after some number of videos. Also, I've found a way to get the videos to work again on an individual basis: when the video fails to load, refresh the page and click once in the area the video will appear before the page is done loading.
Also seeing the "GDK_IS_WINDOW" assertion failed (and resulting white Flash content areas) on Konqueror 4.2 on Gentoo with qt-core and qt-gui 4.4.2-r1 with the newly added "glib" USE flag enabled to add support for glib event loop, which Flash probably wants. For what it's worth, it's not only a problem when a page is loading. If you're lucky enough to have Flash content working on a page and then you open another tab and switch back, the Flash content area comes up white (and the assertion failed message is printed to stderr). Using kmplayer to host the Flash plugin instead of nspluginpart does not exhibit the assertion failure. Perhaps a clue to the solution lies there. I would be happy with kmplayer, but it has some big problems concerning keyboard input, sizing of the Flash content, and interaction with the containing page through JavaScript.
FWIW, the assert happens because Flash passes 0 to a function that queries a window's screen number. As to why it does this --- I haven't been able to reverse-engineer that.
I can confirm here, Kubuntu Ibex on KDE4.2 64-bit, with 64bit flash beta. Youtube works fine, embedded players do not.
I can confirm this bug, surprisingly, on Arora. So I think it's not Konqueror specific, but it's WebKit and/or flash itself. I have Arora(trunk) compiled with Qt4.5(trunk) I guess it may have something to do with this messages I get when using flash: Adobe Flash Player: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed. Trying to call gtk_init(0,0); (<unknown>:8091): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed My system: openSUSE 11.1 x86_64 Qt: 4.4.3 KDE: 4.2.00 (KDE 4.2.0) "release 83.1" Plasma Workspace: 0.3 x11-video-nvidiaG02, Version: 180.22-4.1 Flash 10.0 d21 (64bit)
We don't use WebKit. The only bit we do share is Qt.
So it can only be flash or Qt, or x11/nvidia driver maybe? I've also noticed a lot of flickering in flash parts of the site when it loads or when I scroll the window. How can I reproduce this bug in konqueror? I've been trying for quite some time now with no result. There is another weird thing, kdewebkitpart can't find flash plugin. Any hints? I know that KHTML and WebKit share some code (but I don't know how much) and it's unlikely but could it be the case that there is some shared bug?
*** Bug 184235 has been marked as a duplicate of this bug. ***
NVidia is unlikely the reason - I get the blank flash area on a i686, Intel i865, too. See my initial report at http://bugs.kde.org/show_bug.cgi?id=184235 .
Another example with broken flash player representation: http://www.ifondy.cz - KDE Version 4.2.00 (KDE 4.2.0) "release 99" (KDE 4.2.00 (KDE 4.2.0) "release 99", KDE:KDE4:Factory:Desktop / openSUSE_11.1) - Application Web Browser/File Manager - Operating System Linux (i686) release 2.6.27.7-9-default - Compiler gcc Refresh the page doesn't help. It seems like during loading the plugin contents are displayed for a short while and disappear immediately after loading ends.
*** Bug 185006 has been marked as a duplicate of this bug. ***
Confirming this error on Ubuntu with kde 4 getting the version from deb http://ppa.launchpad.net/kubuntu-experimental/ubuntu intrepid main did not solve anything. KDE: 4.2.1 Konqueror: 4.2.1 Kernel: 2.6.27-11-generic
Created attachment 31956 [details] A potential patch A patch that may or may not resolve the issue. It was created based on a different report, but the cause may be what's underlying the problems here. Testing appreciated.
Same problem (actually worse than ever) on Kubuntu Jaunty Alpha 5, Backports and all updates applied. Maksim, is your patch for trunk?
Patch works for me, I tried a bit current svn and 4.2.1. Using flash 10.0.22.87.
The patch should apply to both 4.2 branch and trunk.
I've been running with this patch applied to the Kubuntu Interprid KDE 4.2.1 packages (including a small fix for a reject) for a day now, and I haven't encountered the bug during this time. I know that this isn't conclusive, but at least it is an indication that it does something right. I'll keep an eye out for the problem, and report back here if I encounter it.
Patch in Comment #40 works for me on Gentoo with kde-base/nsplugins-4.2.1. (I did also have to fix a rejected hunk due to whitespace mismatch.)
SVN commit 939403 by orlovich: Block handling of normal I/O streams until javascript: queries are handled. Fixes the problem with opening of local flash files reported by KMess developers, and hopefully the ocassional white windows on web flash stuff as well CCBUG: 169626 M +21 -3 nsplugin.cpp M +3 -1 nsplugin.h WebSVN link: http://websvn.kde.org/?view=rev&revision=939403
SVN commit 939405 by orlovich: Merged revision 939403: Block handling of normal I/O streams until javascript: queries are handled. Fixes the problem with opening of local flash files reported by KMess developers, and hopefully the ocassional white windows on web flash stuff as well CCBUG: 169626 M +21 -3 nsplugin.cpp M +3 -1 nsplugin.h WebSVN link: http://websvn.kde.org/?view=rev&revision=939405
Commited patch works like a charm using KDE 4.2.0. Thanks!!!
Patch in Comment #47 works, but if I open a local flash file then try to resize the windows, konqueror crash.
Here it works only right after I start a new session with konqueror. If it's a previous saved session with more than one site that uses flash, it shows a blank square.
With konqueror 4.2.2 this site does not work: http://www.zita.be/nieuws/auto/gearboxtv/ In firefox you can see that the flash video on this site has additional buttons and advertising. Hope you can fix the patch for every site that uses flash.
Mandriva backported the new KMPlayer 0.11.1b to Mandriva Linux 2009.1: "bump hardcoded flash version to 10, makes knpplayer work on more sites." So I changed konqueror's file associations from Netscape plugin viewer (nsplugin) to Embedded MPlayer for KDE: kwriteconfig --file kmplayerrc --group "application/x-shockwave-flash" --key player npp kwriteconfig --file kmplayerrc --group "application/x-shockwave-flash" --key plugin /usr/lib/mozilla/plugins/libflashplayer.so Konqueror>Settings>Configure Konqueror…>File Associations>application/x-shockwave-flash>Embedding>Add>Embedded MPlayer for KDE The flash video in http://www.zita.be/nieuws/auto/gearboxtv/ now works in konqueror!
Oops I just checked youtube: HD video's don't play in konqueror with the new kmplayer. Back to Netscape plugin viewer (nsplugin). We'll have to wait for a new release of kmplayer.
Is this really the same bug now, or can we close this? For instance, on the gearbox site, I don't get a white box like the old problem at all, I get a flash settings dialog and a gray background. Additionally, I cannot find a problem with HQ youtube videos. I follow the konqueror mailing lists, and I believe this particular problem was fixed many months ago.
I've tested on 5 machines with KDE 4.2.4 with OpenSuse and all of then have the same bahavior as reported on #50 Flash works on konqueror only with a fresh window: If I leave an opened tab with flash and log off, when I log in again and KDE restore all windows, the flash will not work on konqueror anymore. If I close konqueror and open the flash page again, then it will work. So i guess that if it's already possible to see flash on konqueror again, there is still a bug. Don't know if it's the case to close this bug and report what's happening now on a new one.
Marcelo: I have not seen this problem, on Kubuntu 9.04 with KDE 4.2.4 installed. Do you know if OpenSuse uses the actual nsplugin flash, or actually uses the kmplayer plugin? Additionally, if anyone else has this same problem, please post your configuration so we can narrow it down.
@Mike: As far as I know, Opensuse uses nsplugin, as I always have the nsplugin viewer and npviewer.bin process. All Systems I've tested are x86_64. I remenber doing a test with the alfa version of x86_64 flash plugin, and got the same results, but it was several months ago.
Now with KDE 4.2.4 in Mandriva 2009.1 Embedded MPlayer for KDE (kmplayer plugin) does can play HD youtube videos
Can anyone else comment on this? Maybe x86_64 vs x86? Or OpenSuse specific? Either way, I think at this point we need to close this bug and start a new one, because it really doesn't seem to be the same problem anymore, e.g. probably none of the backtraces apply, etc. If I don't see any more comments, I will close this bug and ask that others start new, specific bug reports for their particular problems.
I have intel x86-64, debian lenny and KDE 3.5.10 and I see the same problem in konqueror. OK, KDE 3.5.10 is old, but the problem is the same..
Thanks for the update, but since KDE 3.5.10 was released Aug. 26th, 2008, whereas this fix was commited on Mar. 14, 2009, it doesn't really apply.
The problem appears to be resolved for me and has for some time apart from a brief regression around KDE 4.3RC1 :) Working fine now though with KDE 4.3RC2
Closed. Please open new reports for specific bugs, and be sure to include x86 vs x86_64, distribution, and whether the nsplugin viewer or kmplayer are being used.
*** Bug 179109 has been marked as a duplicate of this bug. ***