touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #110924
[Bug 1501330] Re: [webapp-container] Crash with open context menu
It is not specific to the container, a simple qml file such as:
import QtQuick 2.4
import QtQuick.Window 2.2
import com.canonical.Oxide 1.8 as Oxide
import Ubuntu.Web 0.2
import Ubuntu.Components 1.3
WebView {
url: "http://ubuntu.com"
contextualActions: ActionList {
Action {
text: i18n.tr("Copy link")
objectName: "CopyLinkContextualAction"
enabled: contextModel && contextModel.linkUrl.toString()
onTriggered: Clipboard.push(["text/plain", contextModel.linkUrl.toString()])
}
Action {
text: i18n.tr("Cut link")
objectName: "CutContextualAction"
enabled: contextModel && contextModel.isEditable &&
(contextModel.editFlags & Oxide.WebView.CutCapability)
}
}
}
triggers the issue caused I think by a double free memory corruption,
It seems to be the case for apps that dont provide a custom contextMenu
component, and use the default one.
Adding oxide to the bug,
** Also affects: oxide
Importance: Undecided
Status: New
** Changed in: oxide
Assignee: (unassigned) => Alexandre Abreu (abreu-alexandre)
** Changed in: oxide
Importance: Undecided => High
** Changed in: oxide
Status: New => In Progress
--
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/1501330
Title:
[webapp-container] Crash with open context menu
Status in Canonical System Image:
Confirmed
Status in Oxide:
In Progress
Status in webbrowser-app package in Ubuntu:
In Progress
Bug description:
I'm able to reliably crash/freeze webapp-container on the phone.
1) Open to a page with links
2) Hold down your finger over one of the links until you see the "Copy link" popup menu
3) While still pressing down, swipe up and down a bit
For me, this will cause the app to crash or freeze, depending on how
it's feeling that moment.
webbrowser-app itself doesn't seem affected by those specific steps
(though it has a different context menu anyway). I *have* seen it
freeze on me. I just don't know what I did.
current build number: 123
device name: mako
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2015-09-29 10:56:11
version version: 123
version ubuntu: 20150929
version device: 20150911
version custom: mako-1.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1501330/+subscriptions
References