Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.1
-
21e3c3eff23c34f9e4b85794e336380d9f6815f6 (qt/qtquickcontrols2/5.13)
Description
A dialog is not closing with Esc key press even if its closePolicy is set to Popup.CloseOnEscape.
Dialog { id: myDialog visible: true title: "Red sky dialog" x: 100 y: 150 width: 200 height: 200 focus: true closePolicy: Popup.CloseOnEscape | Popup.NoAutoClose standardButtons: Dialog.Ok | Dialog.Cancel // Component.onCompleted: visible=true // Works fine if visible is set to true here }
Attachments
For Gerrit Dashboard: QTBUG-79326 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
279105,11 | QQuickPopup: try to grab shortcut when component completed | 5.13 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |