[Webkit-unassigned] [Bug 52053] New: [Qt] The QGraphicsProxyWidget created in QWebPage::createPlugin is not added as javascript object automatically

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 7 04:06:51 PST 2011


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

           Summary: [Qt] The QGraphicsProxyWidget created in
                    QWebPage::createPlugin is not added as javascript
                    object automatically
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: qt-info at nokia.com


If QWebPage is used with QWebView, the qobject created in createPlugin is exported to javascript automatically. But if QWebPage is used with QGraphicsWebView, the QGraphicsProxyWidget created is not exported to the javascript. The user has to call addToJavaScriptWindowObject manually.

There should not be such difference.

tested against Qt 4.7.1

in the attached test case, you can change the macro defined in mywebpage.h to see the difference.

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