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 Popover (or
ActionSelectionPopover), but unfortunately it doesn’t for the browser’s
mobile implementation, which inherits Dialog, because Dialog also does
this:
Component.onCompleted: foreground.forceActiveFocus()
Not sure how to inhibit this behaviour.
--
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
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp