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

Restoring history clears web channel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.6.0 Beta
    • Fix Version/s: 5.6.0 RC
    • Component/s: WebEngine
    • Labels:
      None
    • Commits:
      ef1f608f76f02f11b4bdcc8d52fa41cdf4cdf5c3

      Description

      When restoring history, QWebEnginePage::webChannel is cleared.

      QWebChannel *channel = ... ;
      QWebEngineView *view = new QWebEngineView;
      view->page()->setWebChannel(channel);
      // view->page()->webChannel() == channel
      
      history >> *view->history(); // set history
      
      // web channel is cleared
      // view->page()->webChannel() == 0
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              nowrep David Rosca
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes