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

Regression: closeEvent called twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.1
    • 5.3.0
    • QPA
    • OS X 10.9
    • macOS
    • 360fd4a278a8827d9727b295a753e623502c7445

    Description

      QWidget::closeEvent is called twice (it doesn't matter if the event is accepted or not).
      See attached minimal application.
      This is a regression against Qt 5.2.

      For some reason Qt Creator still only got a single closeEvent call, until the patch for fixing QTBUG-37933 was integrated - since then Qt Creator also gets the closeEvent twice, leading to a bunch of issues e.g. regarding saving and restoring sessions.

      Attachments

        Issue Links

          Activity

            People

              sorvig Morten Sørvig
              con Eike Ziller
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: