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

Endless loop when calling slot QApplication::closeAllWindows() while modal window is open

    XMLWordPrintable

Details

    • 16f44ee07db46ad362a464afc2c6e6567c933870

    Description

      My application has a modal window open (say a "Would you like to save changed data" message box). When the closeAllWindows() slot gets triggered while such a modal dialog is open, the application freezes, consuming lots of CPU.

      The for-loop in QApplication::closeAllWindows() is never left.

      Attachments

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

        Activity

          People

            bhughes Bradley T. Hughes (closed Nokia Identity) (Inactive)
            jan15022 Jan Siebeneich
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes