Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.3.0
-
None
-
-
c5de1b2123 (qt/qtwebengine/dev) c5de1b2123 (qt/tqtc-qtwebengine/dev) d6f4bc46ad (qt/qtwebengine/6.3)
Description
Take the simplebrowser example.
In TabWidget::createBackgroundTab(), just before the return, add the line
webPage->load(QUrl("https://www.google.com/"));
This will cause new tabs to open google.com by default. However, the tab icon is not updated: it does not show google.com favicon. Instead a default icon is displayed.
Reloading the page, will cause the icon to be displayed.
It seems that when the issue happen QWebEnginePage::iconChanged and QWebEnginePage::iconUrlChanged signals are not emitted.
Note: it is possible to retrieve the icon by calling QWebEngineProfile::requestIconForPageURL once the page has loaded.
Attachments
For Gerrit Dashboard: QTBUG-103735 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
413654,3 | Do not reset favicon for same document navigations | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
414981,2 | Do not reset favicon for same document navigations | 6.4 | qt/qtwebengine | Status: MERGED | +2 | 0 |
414982,2 | Do not reset favicon for same document navigations | 6.3 | qt/qtwebengine | Status: MERGED | +2 | 0 |