Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.1, 5.12.3
-
macOS 10.10, 10.14.5
Description
On OSX "App Menu-Quit" is hooked into QCoreApplication::quit() as is the quit command in the dock menu
When either of these is called on a qtquick application the onClosing handler is run for the window and even if close.accepted = false it is ignored and the application will quit
(A qt widgets application with a QMainWindow overriding event() and ignore() the even will not quit under the same situation)
Attachments
Issue Links
- relates to
-
QTBUG-33235 OSX: QQuickWindow doesn't get a closeEvent on Cmd+Q
- Closed
-
QTBUG-52944 Transient parent of Window is not clear when Loader is involved
- Closed
-
QTBUG-59782 Qt.quit() exits immediately without sending a QCloseEvent
- Closed