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

Page load after an in-page navigation doesn't trigger loadStarted signal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.0 Beta 2
    • 5.11.0 Beta 1
    • WebEngine
    • None
    • 1bda20527b2c880e3f88926605ea37f9b67de26e

    Description

      In-page navigations (eg. navigating to an anchor) does not trigger loadFinished signal thus WebContentsDelegateQt::m_lastLoadProgress is not reset to -1 in WebContentsDelegateQt::EmitLoadFinished(). Therefore, WebContentsDelegateQt::EmitLoadStarted() doesn't emit the signal because it expects an on going load due to the positive value of the m_lastLoadProgress.

      Check the attached example to reproduce.

      Attachments

        Issue Links

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

          Activity

            People

              pvarga Peter Varga
              pvarga Peter Varga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes