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

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

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: QTBUG-66869
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes