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. Fixes: 1346867

Approved by: Michael Terry

commit853c96e436f151b02cda2e2c255df25b95f70e24 authorMirco Müller <mirco.mueller@canonical.com> dateWed 6 Aug 2014, 19:36 (12 years ago) parent9ff253f9e61124
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 }