https://bugs.kde.org/show_bug.cgi?id=476731
Bug ID: 476731
Summary: Room preview: username height affects room avatar
height, breaking layout
Classification: Applications
Product: NeoChat
Version: 23.08.2
Platform: Archlinux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 162961
--> https://bugs.kde.org/attachment.cgi?id=162961&action=edit
The extreme scenario where someone put linebreaks in their display name,
severely breaking the layout
SUMMARY
In a room preview, if the last author's display name has emojis or, in extreme
cases, line breaks, then their display name would take more space vertically.
The room preview does not seem to account for this, so if the display name's
space is stretched, then it will also stretch the room icon on the left.
STEPS TO REPRODUCE
1. Be in a room where someone has a display name that either contains an emoji
or line breaks.
2. Let them send the latest message.
OBSERVED RESULT
It stretches the entire space for that room's preview. Notably it stretches the
room avatar.
EXPECTED RESULT
The space taken by each room is constant.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch ARM (Asahi Linux)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.