Bug 502162 - In history view, icon overlaps text from notification with no word breaks (e.g. long URLs)
Summary: In history view, icon overlaps text from notification with no word breaks (e....
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 6.3.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-29 17:33 UTC by Patrick Silva
Modified: 2025-03-30 16:47 UTC (History)
2 users (show)

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


Attachments
screenshot (85.12 KB, image/png)
2025-03-29 17:33 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2025-03-29 17:33:51 UTC
Created attachment 179844 [details]
screenshot

STEPS TO REPRODUCE
1. wait for a notification with long text
2. observe the notification history in the Notification applet
3. 

OBSERVED RESULT
the app icon overlaps the text from notification. Please see the attached screenshot.

EXPECTED RESULT
the text from notification should be entirely readable

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Graphics Platform: Wayland
Comment 1 Nate Graham 2025-03-29 20:42:13 UTC
It looks like this is a URL that Qt can't figure out how to wrap. Can reproduce with:

notify-send foo mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm --icon-name edit-bomb
Comment 2 Bug Janitor Service 2025-03-29 21:59:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5358
Comment 3 Nate Graham 2025-03-30 15:25:26 UTC
Git commit ae9dd6dd80660350633f9fc471921611ef5627d4 by Nate Graham.
Committed on 30/03/2025 at 14:20.
Pushed by ngraham into branch 'master'.

applets/notifications: use more appropriate wrap mode for labels

WordWrap isn't smart enough to handle cases of long text without word
breaks, like URLs. Wrap is more appropriate here for that reason.
FIXED-IN: 6.3.4

M  +3    -0    applets/notifications/package/contents/ui/components/Body.qml
M  +2    -1    applets/notifications/package/contents/ui/components/Summary.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/ae9dd6dd80660350633f9fc471921611ef5627d4
Comment 4 Nate Graham 2025-03-30 16:47:00 UTC
Git commit a0c971fd37b3499296ba5833d433733d9e696c0a by Nate Graham.
Committed on 30/03/2025 at 15:25.
Pushed by ngraham into branch 'Plasma/6.3'.

applets/notifications: use more appropriate wrap mode for labels

WordWrap isn't smart enough to handle cases of long text without word
breaks, like URLs. Wrap is more appropriate here for that reason.
FIXED-IN: 6.3.4


(cherry picked from commit ae9dd6dd80660350633f9fc471921611ef5627d4)

Co-authored-by: Nate Graham <nate@kde.org>

M  +3    -0    applets/notifications/package/contents/ui/components/Body.qml
M  +2    -1    applets/notifications/package/contents/ui/components/Summary.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/a0c971fd37b3499296ba5833d433733d9e696c0a