touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #116438
[Bug 1514173] [NEW] [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
Public bug reported:
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
}
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Assignee: Andrea Bernabei (faenil)
Status: In Progress
** Tags: listitemlayout
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Assignee: (unassigned) => Andrea Bernabei (faenil)
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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 ubuntu-ui-toolkit package in Ubuntu:
In Progress
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/ubuntu/+source/ubuntu-ui-toolkit/+bug/1514173/+subscriptions
Follow ups
-
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
From: Zoltan Balogh, 2015-12-05
-
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
From: Andrea Bernabei, 2015-11-20
-
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
From: Pat McGowan, 2015-11-16
-
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
From: Jean-Baptiste Lallement, 2015-11-11
-
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
From: Timo Jyrinki, 2015-11-11
-
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
From: Timo Jyrinki, 2015-11-11
-
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
From: Jean-Baptiste Lallement, 2015-11-11
-
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
From: Zsombor Egri, 2015-11-11
-
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
From: Timo Jyrinki, 2015-11-11
-
[Bug 1514173] Re: [listitemlayout] setting RichText format with html image tag leads to crash (segfault)
From: Launchpad Bug Tracker, 2015-11-08