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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.11.0 Beta 1
    • Fix Version/s: 5.11.0 Beta 2
    • Component/s: WebEngine
    • Labels:
      None
    • Commits:
      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

              • Assignee:
                pvarga Peter Varga
                Reporter:
                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