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

"External WM_DESTROY received for..." at app shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4: Low
    • None
    • 5.3.2, 5.9.3
    • None
    • Windows 7 Qt5.3.2 with MinGW_32bit
    • Windows

    Description

      In main.cpp
      MainWindow *w = new MainWindow;
      w->show();
      In mainwindow.cpp
      void MainWindow::on_toolButton_clicked()

      { static TestD *dlg1 = new TestD(this); dlg1->show(); }

      void MainWindow::on_toolButton_2_clicked()

      { static TestD *dlg2 = new TestD(this); dlg2->show(); }

      if you press both buttons and close the application error message appears
      External WM_DESTROY received for QWidgetWindow(0x6b7458, name = "TestDWindow") , parent: QObject(0x0) , transient parent: QWidgetWindow(0x63ac88, name = "MainWindowWindow")

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              martov_kot MaksK
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes