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

Windows: MessageDialog causes warnings on close on application exit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.3.0
    • 5.2.0
    • Quick: Dialogs
    • None
    • Windows 7, qt5 snapshot 2013-12-09 (17-06-35-196)
    • 989d439d93341fc8f046a5a6cefe6ed39625b908 (stable, 25.2.2014, 5.3)

      import QtQuick 2.1
      import QtQuick.Window 2.1
      import QtQuick.Dialogs 1.1
      import QtQuick.Controls 1.1
      
      Window {
          Button {
              text: "Open"
              anchors.centerIn: parent
              onClicked: dialog.open()
          }
          MessageDialog {
              id: dialog
              text: "QtQuick.Dialogs.MessageDialog"
          }
      }
      

      Steps:

      • run the test app
      • click the button
      • close the dialog
      • close the window

      Result:

      External WM_DESTROY received for  QWidgetWindow(0x4191778, name = "QMessageBoxClassWindow") , parent:  QObject(0x0)  , transient parent:  QQuickWindowQmlImpl(0x107d570) 
      

        1. qtbug35499_dialog.zip
          2 kB
          Friedemann Kleint
        2. qtbug35499_stack.txt
          19 kB
          Friedemann Kleint
        3. qtbug35499.qml
          0.3 kB
          Friedemann Kleint
        4. qtbug354999_log.txt
          12 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes