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

The mainwindow will be recreated when add a QWebEngineView to it

    XMLWordPrintable

Details

    • eb4cb7192 (dev)

    Description

      After upgrade to Qt6.5.31, I face a problem: In my QMainWindow, it contains a QStackedWidget. When I add a QWidget (named exampleWidget) which contains a QWebEngineView to the stacked widget, the QMainWindow will be recreated.

      With some debug, I found that the original surface type of the mainwindow is raster surface. But when add the QWebEngineView which surface type is Direct3D, this will cause the mainwindow be recreated.

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              sam.fang Sam Fang
              Votes:
              2 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes