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

Expose DidFinishNavigation()/HasCommitted() through the public API

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • WebEngine
    • None

    Description

      The current API only exposes the start of the navigation and the end of the load.

      Qt users cannot know when the navigation finished and the page actually starts rendering.
      This is impratcical when the surrounding UI need to be updated based on the current visible page:

      • loadStarted() is too early to update UI
      • loadFinished() is too late to update the UI
      • urlChanged() is right on time, but is not emitted during a reload and is emitted when a web app changes its URL without navigation

      Right now, I need to combine all 3 of them to kind of get what I want.

      It would be much simpler if:

      • QWebEnginePage:::loadingChanged() was also emitted when DidFinishNavigation() is called
      • QWebEngineLoadingInfo had a hasCommited property

      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
            bterrier Benjamin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes