← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1351363] Re: OSK disappears when switching focus from address bar to input field on page

 

When tapping on the input field in the page after focusing the QML TextInput, I’m seeing WebView::TextInputStateChanged(…) being called twice in a row:
 - the first time with type == TEXT_INPUT_TYPE_SEARCH and show_ime_if_needed == false, so obviously this doesn’t prompt the OSK to show
 - the second time with type == TEXT_INPUT_TYPE_SEARCH and show_ime_if_needed == true, which calls into oxide::qt::WebView::OnTextInputStateChanged(), which should show the OSK, but oddly at this point HasFocus() returns false, which is why nothing happens

It seems to me that when tapping an input field on the webview, the
webview should get focus, and therefore HasFocus() should return true.
So it looks like it’s a bug in oxide.

** Also affects: oxide
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to webbrowser-app.
https://bugs.launchpad.net/bugs/1351363

Title:
  OSK disappears when switching focus from address bar to input field on
  page

Status in Oxide Webview:
  New
Status in Web Browser App:
  Triaged

Bug description:
  Steps to reproduce:

  - Open http://start.ubuntu.com in the browser
  - Make sure the webview/input is not focused
  - Tap on the address bar(OSK appears)
  - Tap on the search input

  Excepted result :
  - OSK shouldn't disappear & should only change layout according to the input type

  Actual result :
  - OSK disappeared & you need to tap again on the search input to make it appear

  See video
  https://docs.google.com/file/d/0B5YNuwiW23vRM1FFQW5pTGV1OXc/edit

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1351363/+subscriptions


References