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.
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
Comment on attachment 92168 [details] Patch to fix above defect Could you elaborate on why this patch fixes the problem?
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.
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.
=== 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.