-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.10
-
None
-
-
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.
For Gerrit Dashboard: QTBUG-139641 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
671919,2 | WebView2: Block creation of new windows not controlled by Qt | dev | qt/qtwebview | Status: MERGED | +2 | 0 |
673118,2 | WebView2: Block creation of new windows not controlled by Qt | 6.10 | qt/qtwebview | Status: MERGED | +2 | 0 |