Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-56637

QWebEnginePage::acceptNavigationRequest not called for all types of links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 5.8.0 Alpha
    • WebEngine
    • None
    • Linux, X11, Qt 5.8 from git

      In the attached testcase, clicking on the first link (a static "a href") works, as indicated by the debug output. However the other two links are made quite differently, using jquery and other javascript magic, and when clicking on these, acceptNavigationRequest is not called.

      Strangely enough, QWebEngineView::createWindow is called in all cases (and always returns nullptr, in this testcase, the use case being an email client).

      The index.html file provided is a reduction of https://git.reviewboard.kde.org/r/128735/, both fail in this testcase, and both work in qtwebengine/examples/webenginewidgets/demobrowser.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt_webengine_team Qt WebEngine Team
            dfaure_kdab David Faure
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes