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

There is no way to disable back/forward navigation on Qt Quick WebEngineView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.6.0
    • WebEngine
    • None
    • Windows 7 Professional SP1 x64, Qt 5.6.0 open-source edition

    Description

      In my application, I need to disable back/forward navigation, but there is no way to do this on Qt Quick WebEngineView. I tried one way, when i check "request.navigationType" in "onNavigationRequested" and this type equal to "WebEngineView.BackForwardNavigation, i set WebEngineView.IgnoreRequest to "request.accepted". But my WebEngineView url changed anyway. I attached my test program with this issue. Maybe i do something wrong?

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            AndriySlisarchuk Andriy Slisarchuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes