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

[5.12] QWebEnginePage::createWindow hides new tab/window when closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.0 RC
    • 5.12.0 Beta 3, 5.12
    • WebEngine
    • None
    • Linux (OpenSUSE with QtWebEngine 5.12 from git)
    • Linux/X11
    • 4d6de2ba36ff4fe17b0e1c8ee7de4f63e2778c9e (qt/qtwebengine/5.12.0)

    Description

      When a new tab or window is opened by the QWebEnginePage::createWindow or QWebEngineView::createWindow methods, the new window or tab will display properly at first.

      However, when the page that called the createWindow method is destroyed, all of the pages created by createWindow will become invisible and cannot be interacted with.

      These pages still seem to exist (signals for the page being loaded or the title being changed are still emitted), but the QWebEngineView will not render the pages.

       

      To confirm this, open the attached test.html file in simplebrowser,  click on the link which will open a new tab, then switch to the new tab and close the first tab. You will see the contents of the page in the second tab disappear.

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            lefroid lefroid
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes