Created attachment 179956 [details]
Minimal example that reproduces the bug
Reproducible on Debian (sid) x86_64 with official Qt 5 RC 2 release.
When using QML WebView from QtWebKit 3.0 flash doesn't react on mouse clicks. Flash works well in other browsers (Opera, Firefox) on the system.
Steps to reproduce:
0. Have flash plugin installed and working in browsers.
1. Build and run the attached minimal example with the latest Qt 5 (RC 2 at the moment of reporting).
2. Navigate to any YouTube video - it will start playing.
3. Try clicking on the video.
Expected result: Video pauses/resumes.
What happens: Nothing happens - no reaction to mouse clicks.
Also, it seems like Flash receives mouse-over events, because when you move mouse cursor over the items in the player, controls are highlighted and hints pop up.
This issue happens not only with the YouTube player but with flash on any other website.
Short update: re-checked on the latest Kubuntu x86_64 (12.10) with official Qt 5 release - the problem is also reproducible there.
Oleksii, can you load flash plugin with QML WebView? I'm afraid that QML doesn't support npapi plugins. If you can load flash plugin, could you please give more detail. I runned your test code on Windows, flash plugn is not loaded.
(In reply to comment #2)
> Oleksii, can you load flash plugin with QML WebView? I'm afraid that QML doesn't support npapi plugins. If you can load flash plugin, could you please give more detail. I runned your test code on Windows, flash plugn is not loaded.
Sorry for a delay with my reply - I was on vacation.
Yes I can. I just tried re-running the code on Kubuntu 13.04 machine and when I go to YouTube it starts playing the video. I've also checked that HTML5 Video Player is disabled in YouTube settings so it's definitely flash player there.
Could it be that you're building against 64 bit Qt? AFAIK, flash is 32 bit so it won't load into 64 bit browser on Windows.
I can confirm that this bug is still there in Qt5.1.
Please let me know if I can help, test something or provide debug information.
There is also a report for this bug in the Qt bug tracker: