RESOLVED INVALID 60085
[Qt] Overlapping content on WebView element
https://bugs.webkit.org/show_bug.cgi?id=60085
Summary [Qt] Overlapping content on WebView element
Damian Jansen
Reported 2011-05-03 16:54:34 PDT
Created attachment 92168 [details] Patch to fix above defect 1. Execute the webbrowser.qml demo 2. Click refresh button while "http://www.nokia.com" is in browser 3. Enter "http://www.google.com.hk" in address bar Expected Result: google.com displays correcty Actual Result: The page of "google.com" is overlaping the page of "Nokia.com" Moved from QT-3622. Patch attached.
Attachments
Patch to fix above defect (690 bytes, patch)
2011-05-03 16:54 PDT, Damian Jansen
no flags
Benjamin Poulain
Comment 1 2011-05-04 03:37:49 PDT
You need to make the patch with WebKit trunk, not the branch that is included in Qt (and which is ~1 year old :)) And you need a changelog for the patch. More info here: http://trac.webkit.org/wiki/QtWebKitContrib
Alexis Menard (darktears)
Comment 2 2011-05-04 04:52:50 PDT
Comment on attachment 92168 [details] Patch to fix above defect Could you elaborate on why this patch fixes the problem?
Jason Barron
Comment 3 2011-05-05 00:12:54 PDT
I'm not sure if this happens on all platforms or just Symbian, but some Qt styles (eg: QS60Style) do some pretty nasty stuff to the palette to make it look as native as possible. One of the nasty things is to use Qt::transparent in one of the palette roles (QPalette::Base maybe?) in order for the themed background to shine through. This has been addressed for QWebView by using a custom palette which does not have a transparent base. The same fix should be applied to the QML WebView element so that it does not clear the page with transparent.
Noam Rosenthal
Comment 4 2011-06-29 18:14:15 PDT
Comment on attachment 92168 [details] Patch to fix above defect This should probably be done in QGraphicsWebView and not in QDeclarativeWebView; Also it should be #ifdefed to Symbian, if I understand the problem you're describing.
Jocelyn Turcotte
Comment 5 2014-02-03 03:17:41 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.