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

WebEngine fails to load page with QWebEngineProfile::NoCache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.6, 5.15.2, 5.15.7
    • Fix Version/s: None
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      Debian bullseye (armhf, GCC 10) and bookworm (amd64, GCC 11)
      Ubuntu impish (amd64, GCC 11)
    • Platform/s:
      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

            Assignee:
            qt_webengine_team Qt WebEngine Team
            Reporter:
            pait Patrick Wang-Freninger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes