Bug 477562 - Multi-line notification popup header has less padding then single-line header
Summary: Multi-line notification popup header has less padding then single-line header
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.27.9
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2023-11-26 13:48 UTC by Puspam Adak
Modified: 2025-03-29 16:54 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.0
Sentry Crash Report:


Attachments
Example notification with long app name (19.62 KB, image/png)
2023-11-26 13:48 UTC, Puspam Adak
Details

Note You need to log in before you can comment on or make changes to this bug.
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.