Popups: Don't close on click-outside

This was causing obvious confusion for users - misclicking outside of
the pop-up caused a dismissal where the consequences were not at all
clear.

So let's drop that behaviour entirely. You exit the dialog through
explicit button or key presses only.
This commit is contained in:
Tom Dewey 2024-09-03 14:14:00 +01:00 committed by Tom Dewey
parent 405110c80d
commit 2d089f7d94
2 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ Popup {
width: 550 width: 550
height: msgpopupbody.implicitHeight+150 height: msgpopupbody.implicitHeight+150
padding: 0 padding: 0
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside closePolicy: Popup.CloseOnEscape
modal: true modal: true
property alias title: msgpopupheader.text property alias title: msgpopupheader.text

View file

@ -437,7 +437,7 @@ ApplicationWindow {
width: parent.width-100 width: parent.width-100
height: parent.height-50 height: parent.height-50
padding: 0 padding: 0
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside closePolicy: Popup.CloseOnEscape
property string hwselected: "" property string hwselected: ""
// background of title // background of title
@ -537,7 +537,7 @@ ApplicationWindow {
width: parent.width-100 width: parent.width-100
height: parent.height-50 height: parent.height-50
padding: 0 padding: 0
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside closePolicy: Popup.CloseOnEscape
property string categorySelected : "" property string categorySelected : ""
// background of title // background of title
@ -934,7 +934,7 @@ ApplicationWindow {
width: parent.width-100 width: parent.width-100
height: parent.height-50 height: parent.height-50
padding: 0 padding: 0
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside closePolicy: Popup.CloseOnEscape
onClosed: imageWriter.stopDriveListPolling() onClosed: imageWriter.stopDriveListPolling()
// background of title // background of title