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

The mainwindow will be recreated when add a QWebEngineView to it

    XMLWordPrintable

Details

    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

          For Gerrit Dashboard: QTBUG-119221
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews