Bug 39669
Summary: | [Qt] QWebPage needs to be able to function in a Widget-less environment, as per documentation. | ||
---|---|---|---|
Product: | WebKit | Reporter: | bo0ork |
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | bo0ork, cmarcelo, diegohcg |
Priority: | P3 | Keywords: | Qt, QtTriaged |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
bo0ork
The docs state:
"This class can be used, together with QWebFrame, to provide functionality like QWebView in a widget-less environment."
This is not true. While measuring items in WebCore::RenderThemeQt() constructor, and other places, QWidgets are being constructed merely to check what fonts they use or what width a certain part of them are.
This is just silly, as it prevents QWebPage for being used in secondary threads and non-GUI applications, for something that could easily be hardcoded for QWebPage (as opposed to QWebView, which should still do these things).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Diego Gonzalez
Maybe you can discuss it on qtwebkit list: webkit-qt@lists.webkit.org
Jocelyn Turcotte
=== 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.