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

WebView2 plugin opens its own new windows Qt has no control over

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.10.0 Beta4, 6.11.0 FF
    • 6.10
    • WebView
    • None
    • Windows
    • 5c29704a2 (dev), 97f429bed (6.10)

      On Windows with the WebView2 backend, JavaScript window.show() calls and HTML <a target="_blank"> links both trigger a new window to open and show the desired content. However, these windows are entirely controlled by the system, and don't even close when the spawning process has been killed.

      A QWebView API for handling new window requests is planned, but until then we should block new windows entirely to stay consistent.

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

            kchehlarski Kaloyan Chehlarski
            kchehlarski Kaloyan Chehlarski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes