Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 5.3.1
-
Fix Version/s: 5.4.0 Alpha
-
Component/s: Quick: Core Declarative QML
-
Labels:None
-
Environment:Qt 5.3.1
Debian Linux 7 x32
-
Commits:0af228700e85167b9406193a38ea27584c6dc4d7
Description
The signal `onClosing` fires only when `Window` closed with x button.
Using `Window.close()` has no effect.
How to reproduce:
Window { id: someWindow onClosing: { console.log("OnClosing fired"); } Button { text: "Close" onClicked: { someWindow.close(); } } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-42426 Window.close() should not be callable in QML
-
- Closed
-
- relates to
-
QTBUG-31019 need a way to intercept closing of a Window in Qt Quick
-
- Closed
-
-
QTBUG-40857 ColorDialog: rejected signal doesn't get emitted when closing the window.
-
- Open
-
-
QTBUG-33235 OSX: QQuickWindow doesn't get a closeEvent on Cmd+Q
-
- Closed
-