← Back to team overview

touch-packages team mailing list archive

[Bug 1517204] Re: homepage dialog closes osk on enter key use

 

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.

** Changed in: webbrowser-app (Ubuntu)
       Status: Triaged => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1517204

Title:
  homepage dialog closes osk on enter key use

Status in webbrowser-app package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1517204/+subscriptions


References