Bug 261523 - Adobe Flash does not work in konqueror (also not in rekonq).
Summary: Adobe Flash does not work in konqueror (also not in rekonq).
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdewebkit (show other bugs)
Version: SVN
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-29 11:50 UTC by Erik de Groot
Modified: 2011-01-09 15:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.6 RC2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik de Groot 2010-12-29 11:50:10 UTC
Version:           SVN (using KDE 4.5.90) 
OS:                Linux

When I view a page that has flash objects embedded (such as www.weeronline.nl or youtube.com), they will not load. When starting konqueror from the console and loading the aforementioned websites I see:

(<unknown>:7789): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
(<unknown>:7789): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a pixmap or window
(<unknown>:7789): Gdk-WARNING **: GdkWindow 0x4600003 unexpectedly destroyed
(<unknown>:7789): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed

Reproducible: Always

Steps to Reproduce:
Just load www.youtube.com and try to start a video.

Actual Results:  
The video does not load and you only see a black rectangle (in youtube). The fl;ash plugin does not load.

Expected Results:  
I expected the flash plugin to be invoked so that it can play the video.

In rekonq the same happens so I guess the problem is in a component that they both use (kdewebkit?). 

I use Flash 10.1 directly, so without nspluginwrapper, on a 32-bit OpenSUSE 11.3 system with KDE 4.6RC1. With KDE 4.6 Beta2 and KDE 4.5.4 it works flawlessly with the same flash plugin.
Comment 1 Erik de Groot 2010-12-29 12:08:51 UTC
When I switch from kwebkitpart to KHTML flash works in konqueror, so the problem apparently is in kwebkitpart.
Comment 2 Alexander van Loon 2010-12-29 20:58:23 UTC
I
Comment 3 Alexander van Loon 2010-12-29 20:59:35 UTC
Something went wrong, correct comment:

I'm on Kubuntu 10.10 here and updated to KDE SC 4.6 RC1 with Kubuntu's repositories. I use the 64-bit beta of Flash and simply placed the libflashplayer.so file in ~/.mozilla/plugins. This was enough to get it working on most websites when viewing with Rekonq including YouTube, however it doesn't work on all websites.

For example videos on http://www.dumpert.nl/filmpjes/ display white space on the place were the video should be shown. The www.weeronline.nl website which the reporter mentions also doesn't display Flash content. The websites http://headlines.nos.nl/ and http://www.autoweek.nl/videoindex.php are also examples with non-working Flash videos.

Before migrating to KDE on Kubuntu I was using Epiphany, Firefox and Chrome on Ubuntu with the same plugin and it worked fine, so I think something is indeed wrong with KDE's implementation of WebKit.

Also https://bugs.kde.org/buglist.cgi?quicksearch=rekonq+flash turns up some other bugs filed against Rekonq itself, possibly some of these could be related?
Comment 4 Dawit Alemayehu 2010-12-29 23:52:04 UTC
All the issues reported here are known issue due to a kio_http patch missing from the KDE 4.6 RC1 release. It has already been addressed and everything should work correctly in the future RC releases as well as the final KDE 4.6 release. Sorry about the inconvenience...
Comment 5 Andrea Diamantini 2011-01-04 03:10:52 UTC
In rekonq I noticed there are also problems with the adblock in those sites. Please, try again disabling it. With adblock disabled, KIO from KDE SC 4.6 current and rekonq patched (HoldIOSlaves branch on my remote clone) I have no problem on those sites.
Comment 6 Erik de Groot 2011-01-07 10:46:44 UTC
Hi,

I just installed KDE 4.6 RC2 and I can confirm that flash now works perfectly in both konqueror and rekonq.

Thanks!

Erik
Comment 7 Alexander van Loon 2011-01-09 15:02:09 UTC
After installing KDE SC 4.6 RC2 I can also confirm that it fixed most of my problems. However, it didn’t fix everything:

On http://www.dumpert.nl/filmpjes/ I noticed that video’s would not display, I only heard sound and at the place where the video should display I could only see the background.
On http://nl.hardware.info/ the search bar didn’t display any results (which is strange because it doesn’t seems to be using Flash for that).

Both these problems were fixed by disabling the adblock feature as Andrea suggested. With everything fixed I have no reason to try the HoldIOSlaves branch, but my most important reason for not doing so is that it would involve compiling source code, which is quite a hassle compared to downloading packages.

Hopefully the adblock feature can be fixed so that it doesn’t interfere with Flash?