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

Regression: closeEvent called twice

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes