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

[QMacNativeWidget] show modal breaks Qt event loop: QObjects deleteLater events not processed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.7.4, 4.8.0
    • Core: Event loop
    • None
    • Tested on 4.8.0 and 4.7.4. Qt Cocoa 64-bit. Mac OS 4.6.

    Description

      Embedding a QMacNativeWidget in an NSWindow, showing a Qt modal dialog or a Qt popup such as a combobox, puts the qt event loop into a bad state where deletion with QObject::deleteLater() stops happening. I assume this is related to qt event loop level.

      Test Case Attached:
      My test case has a timer creating a QObject every second and marking it for deletion with deleteLater(). After clicking the combobox (any modal state will do) deleteLater objects no longer deleted.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              garvank Garvan Keeley
              Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes