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

Restoring history clears web channel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0 RC
    • 5.6.0 Beta
    • WebEngine
    • None
    • 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

          For Gerrit Dashboard: QTBUG-50751
          # Subject Branch Project Status CR V

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              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