← Back to team overview

touch-packages team mailing list archive

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

 

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 the implementation of Popover (/usr/lib/arm-linux-
gnueabihf/qt5/qml/Ubuntu/Components/Popups/1.3/Popover.qml) to not
request active focus on press (https://bazaar.launchpad.net/~ubuntu-sdk-
team/ubuntu-ui-
toolkit/trunk/view/head:/src/Ubuntu/Components/Popups/1.3/Popover.qml#L209),
then the webview retains focus as expected.

-- 
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 webview

Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  latest rc-proposed on krillin

  1) open webbrowser-app and find a link
  2) long press to get context menu and select "Copy Link"
  3) open gmail webapp and create a new message
  4) go to the message body and try to paste the link by long pressing, and selecting "Paste" from the menu

  Expected results:
  link pasted into message body

  Actual results:
  nothing pasted into the message body

  Some additional info:
  - instead of doing step 4) try to paste into the "To" field and it works correctly, so the paste buffer has the correct info, just can't be pasted into the body of the message

  - also, if I type some text in the message body, the long
  press->"Select all", then long press->"copy", and then long press
  "paste" nothing happens.

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


References