Bug 105314 - [Qt] Flash inside QML WebView doesn't receive mouse clicks
Summary: [Qt] Flash inside QML WebView doesn't receive mouse clicks
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-18 08:57 PST by Oleksii Serdiuk
Modified: 2014-01-28 08:08 PST (History)
4 users (show)

See Also:


Attachments
Minimal example that reproduces the bug (1.36 KB, application/x-gzip)
2012-12-18 08:57 PST, Oleksii Serdiuk
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksii Serdiuk 2012-12-18 08:57:05 PST
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.
Comment 1 Oleksii Serdiuk 2013-01-16 08:40:12 PST
Short update: re-checked on the latest Kubuntu x86_64 (12.10) with official Qt 5 release - the problem is also reproducible there.
Comment 2 Bobber 2013-05-02 22:04:10 PDT
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.
Comment 3 Oleksii Serdiuk 2013-05-10 06:08:35 PDT
(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.
Comment 4 Peter Rullmann 2013-08-09 06:27:27 PDT
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:
[QTBUG-32629|https://bugreports.qt-project.org/browse/QTBUG-32629]