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

Crash after QWidget::createWindowContainer(QWindow::fromWinId())

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.9.7, 5.12.2
    • None
    • Windows 7, Qt5.12.2: reproduced
      Ubuntu16.04, Qt5.12.2: not reproduced
    • Windows

    Description

      App is composed of two processes a Main and a Embedded. Main processes create the Embedded by using QProcess. The Main is attaching the Embedded window by using QWindow::fromWinId() and QWidget::createWindowContainer().

      Testing:

      1. Launch attached example EmbeddedWidgetCrash.zip
      2. Wait for the window to open
      3. Resize windows

      Bug: If you resize the window, the application crashes

      Windows 7, Qt5.12.2:

      1. Launch attached example
      2. Wait for the window to open
      3. Resize windows. Crash:

      Windows 7, Qt5.9.7:

      1. Launch attached example
      2. Wait for the window to open
          
      3. Resize windows. Not crash:

      Attachments

        1. EmbeddedWidgetCrash.zip
          2 kB
        2. after_resize_window.png
          after_resize_window.png
          23 kB
        3. open_window.png
          open_window.png
          4 kB
        4. after_resize_window_qt5.9.7.png
          after_resize_window_qt5.9.7.png
          17 kB
        5. open_window2_qt5.9.7.png
          open_window2_qt5.9.7.png
          19 kB
        6. open_window_qt5.9.7.png
          open_window_qt5.9.7.png
          20 kB
        7. qtbug75105.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            dzhdanov Dmitriy Zhdanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes