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

Regression: closeEvent called twice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.3.0
    • Fix Version/s: 5.3.1
    • Component/s: QPA
    • Labels:
    • Environment:
      OS X 10.9
    • Platform/s:
      macOS
    • Commits:
      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

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes