Bug 29482 - [Qt] Windows: Flash contents not shown when top level window has WA_TranslucentBackground and Qt::FramelessWindowHint
Summary: [Qt] Windows: Flash contents not shown when top level window has WA_Transluce...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks: 35962
  Show dependency treegraph
 
Reported: 2009-09-18 08:45 PDT by Tor Arne Vestbø
Modified: 2014-01-28 20:30 PST (History)
5 users (show)

See Also:


Attachments
Qt test Project for the described bug. (6.22 KB, application/zip)
2010-02-23 05:16 PST, Cédric MARTIN
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Arne Vestbø 2009-09-18 08:45:15 PDT
This bug report originated from issue QTBUG-4483
http://bugreports.qt.nokia.com/browse/QTBUG-4483

--- Description ---

In order to have translucent top level windows on Windows, the window has to have both WA_TranslucentBackground and Qt::FramelessWindowHint set.

However, if such a top level window contains a QWebView showing a web page with Flash contents, the Flash contents are not shown. The audio of the Flash contents can be heard as expected, though.

The problem can be easily reproduced by loading a web page with Flash content in the example from the Transparent QWebView blog on Qt Labs: http://labs.qt.nokia.com/blogs/2009/06/30/transparent-qwebview-or-qwebpage/

The problem does not occur if only one of WA_TranslucentBackground or Qt::FramelessWindowHint is set.

The problem is not reproducible on Linux.
Comment 1 Kenneth Rohde Christiansen 2009-10-18 08:35:12 PDT
Windows related, changing platform
Comment 2 Jocelyn Turcotte 2010-01-14 11:51:26 PST
P5ing until this bug gets confirmed or gets a compilable test case.
Comment 3 Cédric MARTIN 2010-02-22 23:45:32 PST
What do you need exactly to confirm the bug ? a test project ? I still have the problem with QT 4.6.2
Comment 4 Jocelyn Turcotte 2010-02-23 02:59:36 PST
Confirming the bug mostly means that a developer observed this problem on the WebKit trunk.

A good test case for this kind of bug would be a minimal .cpp file that instantiate a QWebView, sets the proper flags for transparency and loads a website with flash (e.g. youtube) allowing to see the bug without having to understand the problem.
Comment 5 Cédric MARTIN 2010-02-23 05:16:39 PST
Created attachment 49280 [details]
Qt test Project for the described bug.

Here is a simple test project that show the problem. I am not in webkit dev team. But I am the one who submitted the problem fiew month ago.

The project is a simple widget with a transparent webview that load an url

http://www.jsuispas.net/youtube/youtube.html

The loaded page contain a transparent PNG backgroudn and a embeded youtube video

I am currently testing with Windows Vista 32bits (QT 4.6.2) But i guess it happen on all Windows platforms.

Hope that could be fixed :)


best regards.
Comment 6 Jocelyn Turcotte 2010-03-09 03:33:36 PST
Yes much better with a test case!
I reproduce it with trunk on Windows7
Comment 7 Joseph Crowell 2010-03-31 12:38:07 PDT
Bug is related to http://bugreports.qt.nokia.com/browse/QTBUG-8119?