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

WebEngine fails to load page with QWebEngineProfile::NoCache

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.15.6, 5.15.2, 5.15.7
    • WebEngine
    • None
    • Debian bullseye (armhf, GCC 10) and bookworm (amd64, GCC 11)
      Ubuntu impish (amd64, GCC 11)
    • Linux/X11

    Description

      A WebEngineView with a profile with QWebEngineProfile::NoCache fails to load the page. If you connect with a remote debugger and refresh the page remotely, it loads.

      As a minimal example I modified the webengine/minimal example with the line

      QWebEngineProfile::defaultProfile()->setHttpCacheType(QWebEngineProfile::NoCache);
      

      This causes the page to not load anymore. Only a white screen is shown.

      My modified example with CMakeLists.txt is attached.

      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
            pait Patrick Wang-Freninger
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes