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

Stored cookies don't trigger the cookieAdded signal when loaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3
    • WebEngine
    • None
    • Linux/Wayland

    Description

      When using a custom QWebEngineProfile that is cached on disk, cookies are correctly saved and reloaded between sessions, but the cookieAdded() signal is never emitted for cookies that were loaded from the cache.

      If I understand correctly QTBUG-102552, QWebEngineCookieStore::loadAllCookies() doesn't work, but cookies are loaded anyway at first navigation, so the cookieAdded() signal should be called at some point for cached cookies, right?
       
      What I want to do is to get the current list of cookies for a web page, similar to what the dev-tools can show, but this seems to be impossible using the QtWebEngine API.

      Attachments

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

        Activity

          People

            michal Michal Klocek
            laurentgom Laurent
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes