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

[Reg] QDialog modal dialog event loop not finishing

    XMLWordPrintable

Details

    • macOS

    Description

      I have QDialog subclass that implements on close event calls event->accept() and also setResult() to some value.

      int value = qtdialog->exec();
      // never comes here  when clicking window close button

      The same code worked fine from Qt5.x until Qt6.6.2. (I haven't tried 6.6.3), but in 6.7.0 event loop never exits, dialog disappears/gets closed, but event loop remains working.

      Attachments

        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
            ivang Ivan Golubovic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes