on xenial help sign in
Make sure the TextField of a snap-decision notification has the active focus upon creation, thus the osk shows up right away.
commit9e611249233001989d713e658ebe6f74591f320f authorMirco Müller <mirco.mueller@canonical.com> dateTue 22 Jul 2014, 13:13 (12 years ago) parent2663b85
1 file changed+3
qml/Notifications/NotificationMenuItemFactory.qml+3
qml/Notifications/NotificationMenuItemFactory.qml+3
@@ -76,6 +76,9 @@ Loader {
7676 }
7777 echoMode: checkBox.checked ? TextInput.Normal : TextInput.Password
7878 height: units.gu(5)
79+ Component.onCompleted: {
80+ forceActiveFocus();
81+ }
7982 onTextChanged: {
8083 menuModel.changeState(menuIndex, text);
8184 }