[Webkit-unassigned] [Bug 105817] New: [Qt] QGraphicsWidget application plugins are created but not visible, REGRESSION(r135515)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 27 21:09:53 PST 2012


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

           Summary: [Qt] QGraphicsWidget application plugins are created
                    but not visible, REGRESSION(r135515)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P1
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: a.a.kalugin at gmail.com


Steps to reproduce:
1. Create a simple HTML page which includes object element with type "application/x-qt-plugin"
2. Create a simple Qt application which can browse pages with QGraphicsWebView
3. In your application override QWebPage::createPlugin to create any instance of QGraphicsWidget which can draw something
4. Run application, browse the page from step 1.
5. Confirm createPlugin function creates plugin widget and passes it to QtWebKit

Expected results:
 - Plugin widget gets shown and works with no problem

Actual results:
 - Plugin widget is hidden. With debugger I can see it gets created and receives initial resize event, but no paint events as far as it is not visible.

The issue is reproducible on Qt 5.0.0.
There was no such issue in Qt5 Beta, but appeared in Qt5 RC. I believe the issue was introduced with the following changes:
http://trac.webkit.org/changeset/135515/trunk/Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp

I have attached the patch which I used to workaround the issue in my particular case.

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