[webapp-container] WebView initially doesn’t have active focus

Bug #1532739 reported by Olivier Tilloy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app (Ubuntu)
Fix Released
Medium
Alexandre Abreu

Bug Description

When launching the webapp container, the webview that is instantiated initially doesn’t have active focus (the window’s QQuickRootItem does). The ancestor chain of the WebView should be comprised of FocusScopes only, not bare Items (Loaders are focus scopes, so they are OK), and the top-level ancestor should have focus.

Note: I came across this issue while working on https://code.launchpad.net/~osomon/webbrowser-app/context-menu-focus/+merge/280759, autopilot tests should verify that the webview initially has active focus.

Related branches

Olivier Tilloy (osomon)
description: updated
Changed in webbrowser-app (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+16.10.20160713-0ubuntu1

---------------
webbrowser-app (0.23+16.10.20160713-0ubuntu1) yakkety; urgency=medium

  [ Alexandre Abreu ]
  * Fix container AP tests browse_to function
  * Set container webview as active focus (LP: #1532739)

  [ Santosh Mahto ]
  * Support keyboard shortcuts in webapp containers (LP: #1579101)

 -- Alexandre Abreu <email address hidden> Wed, 13 Jul 2016 16:24:06 +0000

Changed in webbrowser-app (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.