ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #05091
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
** Package changed: ubuntu-ui-toolkit (Ubuntu) => ubuntu-ui-toolkit
(Ubuntu RTM)
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1514173
Title:
[listitemlayout] setting RichText format with html image tag leads to
crash (segfault)
Status in Canonical System Image:
In Progress
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
Fix Committed
Bug description:
ListItemLayout defines a default main slot, which is currently the
internal class UCThreeLabelsSlot.
ListItemLayout currently doesn't set the QML context of the
UCThsreeLabelsSlot, and UCThreeLabelsSlot doesn't set the QML context
of its internal UCLabels.
This leads to a segfault when Qt tries to access the QML context of
any of the predefined labels in ListItemLayout.
The following test case triggers the crash:
ListItemLayout {
id: layoutTestQmlContext
title.text: "<html><body><p dir='ltr'>TEST <img align=absmiddle height=\"10\" width=\"10\" src=\"file:///test.png\" /> </p></body></html>"
title.textFormat: Text.RichText
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1514173/+subscriptions
References