Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
5.10.1
-
None
-
macOS 10.12.6
Description
I am generating a report as an HTML document and displaying it with a QWebEngineView. This report uses internal links such as <a href="#project_summary">.
I have been using the following to add "Back" and "Forward" capabilities to a QWebEngineView:
connect( mWebView, &QWebEngineView::urlChanged, this, [=] () {
mUI->mActionBack->setEnabled( mWebView->history()->canGoBack() );
mUI->mActionForward->setEnabled( mWebView->history()->canGoForward() );
} );
It seems that QWebEngineView::urlChanged is no longer emitted when clicking on these internal links even though the URL has changed.
This is working in Qt 5.9.5, but not in 5.10.1 - using the maintenance tool versions.
Attachments
Issue Links
- relates to
-
QTBUG-64972 QWebEnginePage::urlChange doesn't provide anchor information
-
- Closed
-