homepage dialog closes osk on enter key use
Bug #1517204 reported by
Sebastien Bacher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Using the ota8 candidate, go to settings -> startpage and type an invalid url (e.g "bug"), the "set" button is disabled but if you hit "enter" on the osk it seems to try to validate it and dismiss the osk, the keyboard should probably stay open in this case
tags: | added: settings |
Changed in webbrowser-app (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
summary: |
- startpage dialog close osk on enter key use + homepage dialog closes osk on enter key use |
tags: | added: keyboard |
To post a comment you must log in.
This seems to be a default behaviour of the TextField component, that removes focus from the field when validating it from the OSK, thus hiding the OSK.
Ideally we would use a validator on the field, but there doesn’t seem to be a way to specify a custom validation function, the closest we can get is a RegExpValidator, but that won’t work for us.
Not sure how to prevent the text field from emitting the accepted() signal when the URL is not valid.