Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.3
-
macos catalina 10.15.7
-
-
8a4e274dcf836f58c7417c11737bdded50a84dbd (qt/qtbase/dev) 0f63509353c2ff1df3b38f31f9a7b966e1deff2b (qt/qtbase/6.1) ce35a72f527e0c5797726a4647507ca30de89589 (qt/qtbase/6.2) 8a12edd8e801bad0f91c07704265795a6ccd2004 (qt/tqtc-qtbase/5.15)
Description
macOS lets you close all your windows by holding the Option key while clicking the red window button in the titlebar. This crashes apps built with Qt 5.15, but it worked fine with 5.9.6. You can reproduce it with Qt Creator 4.14.2 by opening a second window as shown in the attached movie using Split > Open in New Window. Also attaching the macos crash report to see the callstack. Crashes on Catalina and BigSur.
Attachments
For Gerrit Dashboard: QTBUG-92232 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
353331,2 | macOS: Keep NSWindow alive after handling windowShouldClose callback | dev | qt/qtbase | Status: MERGED | +2 | 0 |
353375,2 | macOS: Keep NSWindow alive after handling windowShouldClose callback | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
353376,2 | macOS: Keep NSWindow alive after handling windowShouldClose callback | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
353428,2 | macOS: Keep NSWindow alive after handling windowShouldClose callback | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |