[Webkit-unassigned] [Bug 39569] New: [Qt] QtWebKit overwrites transparent wmode with opaque

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 23 11:56:37 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39569

           Summary: [Qt] QtWebKit overwrites transparent wmode with opaque
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://vimeo.com
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arvid2.nilsson at gmail.com


In FrameLoaderClientQt.cpp, FrameLoaderClientQt::createPlugin.

The code for NPAPI plugins always overwrites wmode transparent with opaque. According to http://blog.forwardbias.in/2009/12, this may be helpful on X11. However on Mac and Windows it results in transparent plugins that would have rendered just fine, appearing opaque and resulting in visual errors or inaccessible video (vimeo.com).

I suggest adding an X11 condition like:

                if (wmodeIndex == -1) {
                    params.append("wmode");
                    values.append("opaque");
-                } else
+                } else {
+#ifdef Q_WS_X11
+                    // wmode=opaque only required on X11, http://blog.forwardbias.in/2009/12
                    values[wmodeIndex] = "opaque";
+#endif
+                }
            }
        }

-- 
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