[Webkit-unassigned] [Bug 105135] New: [Qt/Win] Flash opened in windowed mode when 'wmode' attribute set to 'default' explicitly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Dec 16 13:27:14 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=105135
Summary: [Qt/Win] Flash opened in windowed mode when 'wmode'
attribute set to 'default' explicitly
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: zcrendel at gmail.com
Created an attachment (id=179662)
--> (https://bugs.webkit.org/attachment.cgi?id=179662&action=review)
Incorrect alignment/layered of flash plugin in QGraphics(Scene/View)
As known 'default' mode for flash is 'window', thus if wmode isn't set explicity then qtwebkit try to set it to opaque (windowless).
When html code has 'wmode' already presented and it's not a 'window', then qtwebkit just passes this and doesn't change anything (lines 1535-1536 below):
FrameLoaderClientQt.cpp:
----
1532: if (wmodeIndex == WTF::notFound) {
1533: params.append("wmode");
1534: values.append("opaque");
1535: } else if (equalIgnoringCase(values[wmodeIndex], "window"))
1536: values[wmodeIndex] = "opaque";
----
The result of this is incorrect alignment into QGraphics(Scene/View) and layered over it as separate window (see qgraphicswebview_windowed_flash.png attachment).
Link to reproduce the problem:
http://www.bbc.co.uk/news/world-latin-america-18922704
(btw, any video there has the same problem)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list