[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2016-01-27 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- 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/1526884 Title: context men

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2016-01-13 Thread Launchpad Bug Tracker
This bug was fixed in the package webbrowser-app - 0.23+16.04.20160112.1-0ubuntu1 --- webbrowser-app (0.23+16.04.20160112.1-0ubuntu1) xenial; urgency=medium [ CI Train Bot ] * Resync trunk. added: po/et.po [ Michael Sheldon ] * Dynamically load the thumbnailer image provider

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2016-01-13 Thread Jean-Baptiste Lallement
** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed -- 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/1526884 Title: context menu

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2015-12-22 Thread Olivier Tilloy
The problem has gotten worse with the latest release of the UITK (1.3.1778+16.04.20151217.1-0ubuntu1). With the fix for bug #1523828, popovers are now requesting active focus when they are shown, so the workaround I mentioned in comment #7 is useless. In gmail, when long pressing on the compose fi

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2015-12-16 Thread Bill Filler
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Milestone: None => ww02-2016 ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Bill Filler (bfiller) ** Changed in: canonical-d

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2015-12-16 Thread Launchpad Bug Tracker
** Branch linked: lp:~osomon/webbrowser-app/context-menu-focus -- 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/1526884 Title: context menu steals focus from the webv

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2015-12-16 Thread Olivier Tilloy
> Not sure how to inhibit this behaviour. Until we come up with a better solution, we can at the very least restore active focus on the webview when closing the context menu. ** Changed in: webbrowser-app (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification bec

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2015-12-16 Thread Olivier Tilloy
Applying the above workaround without modifying the UITK is easy enough with the following trick, inside the context menu component: Binding { target: __foreground property: "activeFocusOnPress" value: false } This works for context menu implementations based on Po

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2015-12-16 Thread Olivier Tilloy
For the default context menu exposed by the Ubuntu WebView (which is what is used in e.g. the gmail webapp), the implementation uses an ActionSelectionPopover, which inherits Popover, which doesn’t steal focus when displayed. However tapping an action in the menu does steal the focus. If I change

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2015-12-16 Thread Olivier Tilloy
Unfortunately for the browser case (where the context menu is implemented as a modal Dialog), we’re out of luck because the implementation of Dialog explicitly grabs focus when becoming visible (see https://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui- toolkit/trunk/view/head:/src/Ubuntu/Compone

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2015-12-16 Thread Olivier Tilloy
The context menu should never steals focus from the webview (stealing it and restoring it afterwards doesn’t sound good enough, as it would make the OSK hide/show again unnecessarily). ** Changed in: webbrowser-app (Ubuntu) Assignee: (unassigned) => Olivier Tilloy (osomon) -- You received t

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2015-12-16 Thread Olivier Tilloy
This (the fact that the context menu steals focus from the webview) can easily be observed in the browser by tapping on a text field to focus it (the OSK comes up), then long-pressing on that field to open the context menu: the OSK disappears, and doesn’t come back up when dismissed. -- You recei

[Touch-packages] [Bug 1526884] Re: context menu steals focus from the webview

2015-12-16 Thread Olivier Tilloy
** Summary changed: - cannot paste from webbrowser-app into gmail webapp + context menu steals focus from the webview ** Changed in: webbrowser-app (Ubuntu) Status: Incomplete => Confirmed ** Changed in: webbrowser-app (Ubuntu) Importance: Undecided => High -- You received this bug n