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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12.0 Beta 3, 5.12
    • Fix Version/s: 5.12.0 RC
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      Linux (OpenSUSE with QtWebEngine 5.12 from git)
    • Platform/s:
      Linux/X11
    • Commits:
      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

            • Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              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