RESOLVED INVALID 105817
[Qt] QGraphicsWidget application plugins are created but not visible, REGRESSION(r135515)
https://bugs.webkit.org/show_bug.cgi?id=105817
Summary [Qt] QGraphicsWidget application plugins are created but not visible, REGRESS...
Alex Kalugin
Reported 2012-12-27 21:12:00 PST
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.
Attachments
Patch I have used to workaround the issue. Not a fix in any kind. (690 bytes, text/plain)
2012-12-27 21:14 PST, Alex Kalugin
no flags
Alex Kalugin
Comment 1 2012-12-27 21:14:25 PST
Created attachment 180841 [details] Patch I have used to workaround the issue. Not a fix in any kind.
Jocelyn Turcotte
Comment 2 2014-02-03 03:24:06 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.