Work around QtVirtualKeyboard layering issues
https://bugreports.qt.io/browse/QTBUG-56918
This commit is contained in:
parent
1147dc5135
commit
a1e550a260
@ -415,8 +415,14 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
|
||||
// NOTE: If using a Dialog, make sure closePolicy does not contain Dialo.CloseOnPressOutside
|
||||
// or the virtual keyboard will close when pressing it...
|
||||
|
||||
// https://bugreports.qt.io/browse/QTBUG-56918
|
||||
KeyboardLoader {
|
||||
id: keyboardRect
|
||||
parent: app.overlay
|
||||
z: 1
|
||||
anchors { left: parent.left; bottom: parent.bottom; right: parent.right }
|
||||
}
|
||||
}
|
||||
|
||||
@ -119,6 +119,9 @@ Page {
|
||||
MeaDialog {
|
||||
title: qsTr("Groups for %1").arg(root.device.name)
|
||||
headerIcon: "../images/view-grid-symbolic.svg"
|
||||
// NOTE: If CloseOnPressOutside is active (default) it will break the QtVirtualKeyboard
|
||||
// https://bugreports.qt.io/browse/QTBUG-56918
|
||||
closePolicy: Popup.CloseOnEscape
|
||||
|
||||
RowLayout {
|
||||
Layout.leftMargin: app.margins
|
||||
|
||||
@ -206,6 +206,9 @@ Page {
|
||||
y: app.margins
|
||||
|
||||
standardButtons: Dialog.Ok | Dialog.Cancel
|
||||
// NOTE: If CloseOnPressOutside is active (default) it will break the QtVirtualKeyboard
|
||||
// https://bugreports.qt.io/browse/QTBUG-56918
|
||||
closePolicy: Popup.CloseOnEscape
|
||||
|
||||
TextField {
|
||||
id: textField
|
||||
|
||||
Reference in New Issue
Block a user