File 0001-Notifications-Unset-Heading-default-height.patch of Package plasma5-workspace.7768
From 5e230a6290b1ff61e54c43da48821eb2bf3192ae Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <kde@privat.broulik.de>
Date: Tue, 23 Jan 2018 16:43:29 +0100
Subject: [PATCH] [Notifications] Unset Heading default height
Plasma's Label has a default height based on the contentHeight of the text.
However, this interferes with QtQuick Layout's logic and might cause an infinite loop.
This can easily be triggered by sending a notification with a multi-line heading/summary.
CHANGELOG: Fixed a freeze caused by certain notifications
BUG: 381154
FIXED-IN: 5.12.0
(cherry picked from commit a3c0565ace32ce91cc0c5ef2528b19fe9d8635d8)
---
applets/notifications/package/contents/ui/NotificationItem.qml | 1 +
1 file changed, 1 insertion(+)
diff --git a/applets/notifications/package/contents/ui/NotificationItem.qml b/applets/notifications/package/contents/ui/NotificationItem.qml
index 0331609a..426ea313 100644
--- a/applets/notifications/package/contents/ui/NotificationItem.qml
+++ b/applets/notifications/package/contents/ui/NotificationItem.qml
@@ -155,6 +155,7 @@ MouseArea {
id: summaryLabel
Layout.fillWidth: true
Layout.fillHeight: true
+ height: undefined
verticalAlignment: Text.AlignVCenter
level: 4
elide: Text.ElideRight
--
2.16.0