[Ubuntu-webapps-bugs] [Bug 1506672] [NEW] Always link with --gc-sections
Public bug reported: Debug builds don't link with --gc-sections, which can cause link failures when translation units built with RTTI pull in inline constructors for classes that derive from classes whose constructors are defined in translation units built without RTTI, even if those classes aren't instantiated. Eg: obj/qt/core/libOxideQtCore_public.a(obj/qt/core/api/OxideQtCore_public.oxideqglobal.o):oxideqglobal.cc:typeinfo for base::DelayTimer: error: undefined reference to 'typeinfo for base::Timer'. base::DelayedTimer has an inline constructor and derives from base::Timer, whose constructor is defined in another translation unit. However, oxideqglobal.cc never instantiates base::DelayedTimer (it does indirectly pull in base/timers/timer.h). Linking with --gc-sections fixes this ** Affects: oxide Importance: High Status: Triaged ** Changed in: oxide Importance: Undecided => High ** Changed in: oxide Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to Oxide. https://bugs.launchpad.net/bugs/1506672 Title: Always link with --gc-sections Status in Oxide: Triaged Bug description: Debug builds don't link with --gc-sections, which can cause link failures when translation units built with RTTI pull in inline constructors for classes that derive from classes whose constructors are defined in translation units built without RTTI, even if those classes aren't instantiated. Eg: obj/qt/core/libOxideQtCore_public.a(obj/qt/core/api/OxideQtCore_public.oxideqglobal.o):oxideqglobal.cc:typeinfo for base::DelayTimer: error: undefined reference to 'typeinfo for base::Timer'. base::DelayedTimer has an inline constructor and derives from base::Timer, whose constructor is defined in another translation unit. However, oxideqglobal.cc never instantiates base::DelayedTimer (it does indirectly pull in base/timers/timer.h). Linking with --gc-sections fixes this To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1506672/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp
[Ubuntu-webapps-bugs] [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 WebApps bug tracking, which is subscribed to Oxide. 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 -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp
[Ubuntu-webapps-bugs] [Bug 1506723] Re: Initial downward scroll using touchpad is too fast
** Also affects: oxide Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to Oxide. https://bugs.launchpad.net/bugs/1506723 Title: Initial downward scroll using touchpad is too fast Status in Oxide: New Status in webbrowser-app package in Ubuntu: New Bug description: After opening a tab in the Browser app on the desktop which can be scrolled, I find that the initial downward scrolling speed is much too fast when using a two-finger slide on my laptop touchpad. This causes me to unexpectedly skip large amounts of content. Scrolling up and subsequent downward scrolls go at the much more reasonable expected speed, however. ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: webbrowser-app 0.23+15.10.20150929-0ubuntu1 ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3 Uname: Linux 4.2.0-16-generic x86_64 ApportVersion: 2.19.1-0ubuntu2 Architecture: amd64 CurrentDesktop: Unity Date: Fri Oct 16 00:51:17 2015 InstallationDate: Installed on 2015-08-29 (47 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150828) SourcePackage: webbrowser-app UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1506723/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp