From b370f224c2c772ceae3506af0cc83590705ed709 Mon Sep 17 00:00:00 2001 From: Lionel Duboeuf Date: Fri, 17 Jun 2022 10:54:25 +0200 Subject: [PATCH 1/2] Notifications: increase to max 20 the limit the number of lines when hint "x-canonical-truncation" is set to false --- qml/Notifications/Notification.qml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/qml/Notifications/Notification.qml b/qml/Notifications/Notification.qml index cc47c689a4..49d8bc672d 100644 --- a/qml/Notifications/Notification.qml +++ b/qml/Notifications/Notification.qml @@ -321,7 +321,15 @@ StyledItem { font.weight: Font.Light color: theme.palette.normal.backgroundTertiaryText wrapMode: Text.Wrap - maximumLineCount: type === Notification.SnapDecision ? 12 : 2 + maximumLineCount: { + if (type === Notification.SnapDecision) { + return 12; + } else if (notification.hints["x-canonical-truncation"] === false) { + return 20; + } else { + return 2; + } + } elide: Text.ElideRight textFormat: Text.PlainText lineHeight: 1.1 From 7ce9e6e24f13a2f5ae372808228cbfe1494f05b0 Mon Sep 17 00:00:00 2001 From: Lionel Duboeuf Date: Tue, 13 Dec 2022 14:57:41 +0100 Subject: [PATCH 2/2] tweak CI build --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d3a7d9a3de..51aaaabf2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,2 +1,6 @@ @Library('ubports-build-tools') _ -buildAndProvideDebianPackage() +buildAndProvideDebianPackage( + /* isArchIndependent */ false, + /* ignoredArchs */ [], + /* isHeavyPackage */ true +)