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

Calling winId() on a widget breaks QOpenGLWidget/QQuickWidget/QWebEngineView in the same TLW

    XMLWordPrintable

    Details

    • Commits:
      7c6625b105511191f739d07dc658094ff6f682ac, 6f69a313bd03c4a96f3efcd1ea00068fd5d572e9

      Description

      Black hole are displayed instead of QWebEngineView, if it is placed inside QMdiSubWindow and some of MDI sub windows have WA_NativeWindow attribute. Note that there are also a drawing issue with QLineEdit while QWebEngineView is running. At the end, there is a crash inside QtWebEngineCore at windows closing.

      Please, use sources only from attached project with QtCreator.
      Try to change TEST_NATIVE_WINDOW define for testing without WA_NativeWindow attribute.

        Attachments

        1. qtbug48130_diaglib.zip
          1 kB
        2. qtbug48130.zip
          2 kB
        3. qtbug48130.zip
          0.8 kB
        4. QTBUG-48130-5.6.0-Commit-37c75a2.png
          QTBUG-48130-5.6.0-Commit-37c75a2.png
          71 kB
        5. QTBUG-48130-5.6.0-Commit-37c75a2-opengl_desktop.png
          QTBUG-48130-5.6.0-Commit-37c75a2-opengl_desktop.png
          76 kB
        6. QTBUG-48130-no-mdi.zip
          2 kB
        7. qtsample_no_webengine_dep.zip
          3 kB
        8. QtSample.zip
          7 kB

          Issue Links

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

            Activity

              People

              Assignee:
              lagocs Laszlo Agocs
              Reporter:
              lserge Serge Lysenko
              Votes:
              6 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes