Bug 477562

Summary: Multi-line notification popup header has less padding then single-line header
Product: [Plasma] plasmashell Reporter: Puspam Adak <puspitaadak9876>
Component: NotificationsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: kde, kdelibs-bugs-null, nate
Priority: NOR Keywords: junior-jobs
Version First Reported In: 5.27.9   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.3.0
Sentry Crash Report:
Attachments: Example notification with long app name

Description Puspam Adak 2023-11-26 13:48:33 UTC
Created attachment 163503 [details]
Example notification with long app name

By notification header, I am talking about the part where app name is shown (refer to the attached screenshot for more clarity).
Currently, the header lacks vertical padding. If the app name fits within a single line, then no problem is there. But if the app name spans multiple lines, then the lack of vertical padding looks very ugly. The header part should scale vertically with the text content, or the app name should be trimmed down to fit in a single line.

STEPS TO REPRODUCE
1. Create a notification with a long app name.

OBSERVED RESULT
If the app name spans multiple lines, then the text touches the notification header boundaries, making it look ugly.

EXPECTED RESULT
Notification header should have vertical padding around the text.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.1.62-1-lts
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Comment 1 Nate Graham 2025-03-29 16:54:35 UTC
This was changed in Plasma 6.3 to make the title elide instead of become a multi-line string, effectively fixing the issue.