From 794853b7bdbe56f28acbdb4079556d01bdd1b829 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Sun, 21 Sep 2025 10:56:27 -0400 Subject: [PATCH] Notifications: removed hard limit to 100 characters. --- Bin/notifications-test.sh | 2 +- Services/NotificationService.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Bin/notifications-test.sh b/Bin/notifications-test.sh index 6b6a1458..32ecd9d2 100755 --- a/Bin/notifications-test.sh +++ b/Bin/notifications-test.sh @@ -4,7 +4,7 @@ echo "Sending test notifications..." # Send a bunch of notifications with numbers for i in {1..4}; do - notify-send "Notification $i" "This is test notification number $i with a very long text that will probably break the layout or maybe not? Who knows?" + notify-send "Notification $i" "This is test notification number $i with a very long text that will probably break the layout or maybe not? Who knows? Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." sleep 1 done diff --git a/Services/NotificationService.qml b/Services/NotificationService.qml index af9c16c8..f92d3b8d 100644 --- a/Services/NotificationService.qml +++ b/Services/NotificationService.qml @@ -113,8 +113,8 @@ Singleton { return { "id": id, - "summary": (n.summary || "").substring(0, 100), - "body": stripTags(n.body || "").substring(0, 100), + "summary": (n.summary || ""), + "body": stripTags(n.body || ""), "appName": getAppName(n.appName), "urgency": n.urgency || 1, "timestamp": time,