RESOLVED WONTFIX 42343
[Qt] Cannot interact with Flash content using mouse
https://bugs.webkit.org/show_bug.cgi?id=42343
Summary [Qt] Cannot interact with Flash content using mouse
Denis Dzyubenko
Reported 2010-07-15 01:53:15 PDT
Clicking in the flash content doesn't work - when pressing the mouse button, the cursor changes from a pointing hand to the arrow (which is wrong btw) and releasing a button doesn't do anything - for example try pausing the video on youtube - clicking on the button in the flash window just doesn't do anything. The same in the Flash preferences dialog. It looked like the problem was only triggering after opening a context menu (i.e. right-clicking) on the flash content, but after pulling the latest Qt 4.7 I can reproduce it right away by just loading the youtube web page.
Attachments
Proposed patch (1.53 KB, patch)
2010-07-19 23:06 PDT, Andreas Kling
kling: review-
Andreas Kling
Comment 1 2010-07-16 04:22:04 PDT
Confirmed on ToT + current Qt 4.7. Sometimes it works, sometimes it doesn't. Definitely needs to be investigated.
Andreas Kling
Comment 2 2010-07-19 23:02:29 PDT
It seems this is due to a bug (or rather, new feature) in GDK. We need to put GDK in backwards-compatibility mode for Flash to work properly on Linux. This is accomplished by setting the environment variable GDK_NATIVE_WINDOWS to 1. Chromium does this, Firefox does not. See also: https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/410407
Andreas Kling
Comment 3 2010-07-19 23:06:49 PDT
Created attachment 62036 [details] Proposed patch
Andreas Kling
Comment 4 2010-07-20 03:21:22 PDT
Comment on attachment 62036 [details] Proposed patch Grrh.. this patch makes the session's first Flash file loaded audio-only. Thinking about it, perhaps working around this is outside the scope of QtWebKit.
Andreas Kling
Comment 5 2011-03-27 06:35:17 PDT
This is an issue with a specific plugin (Flash) and can be worked around in user-agent code. Let's try to avoid adding to the pile of Flash-related hacks in QtWebKit.
Ismail Donmez
Comment 6 2011-03-27 06:37:30 PDT
(In reply to comment #5) > This is an issue with a specific plugin (Flash) and can be worked around in user-agent code. Let's try to avoid adding to the pile of Flash-related hacks in QtWebKit. Whats the right user-agent to workaround this bug?
Andreas Kling
Comment 7 2011-03-27 06:38:55 PDT
(In reply to comment #6) > (In reply to comment #5) > > This is an issue with a specific plugin (Flash) and can be worked around in user-agent code. Let's try to avoid adding to the pile of Flash-related hacks in QtWebKit. > > Whats the right user-agent to workaround this bug? Hm, user-agent was a poor choice of words. What I meant was "browser" :) Make your browser code set GDK_NATIVE_WINDOWS=1 in the environment and you won't have this problem.
Note You need to log in before you can comment on or make changes to this bug.