Bug 461088

Summary: Mid-eastern characters (like Arabic) do not fit in the vertical space for the characters in the message list, resulting in broken viewing and unreadable text
Product: [Applications] kmail2 Reporter: thebluequasar
Component: message listAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.21.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot 1 kmail message list doesn't display mid-eastern characters correctly
screenshot 2: mid-eastern charcters and vertical space occupied

Description thebluequasar 2022-10-27 20:27:46 UTC
Created attachment 153245 [details]
screenshot 1 kmail message list doesn't display mid-eastern characters correctly

Summary: Mid-eastern characters – such as Arabic, Persian, Urdu, Pashto, Kurdish, etc. – do not fit in the vertical space for the characters in the message list, resulting in broken viewing and unreadable text
Extra info: Seems like the Mid-eastern characters have been given some extra vertical space recently – see second screenshot – across many apps in KDE Plasma. However, this seems to have resulted in text in these characters to be incorrectly displayed in KMail's message list, with text barely visible – see the first screenshot (the title of the email is "اللغه العربيه" if it matters)

Steps to reproduce:
1- copy or type in the message title in Middle-eastern characters such as Arabic and send it to your inbox,
2- see the message title in the message list, after it arrives to your inbox in KMail 
3- the title will be barely visible, as in screenshot 1

Observed result: Mid-eastern characters are not correctly displayed in the message list in KMail, with text in those languages almost unreadable

Expected result: Mid-eastern characters should be displayed in a manner that's easily readable, perhaps by extending the vertical space allocated to the message with those characters in its title, in the message list, or some other solution

System info:
OS: Linux, KDE Neon User 5.26 (Jammy Jellyfish as base)
KDE Plasma: 5.26.2
KDE Frameworks: 5.99
Qt version: 5.15.6
Kernel: 5.15.0-52 generic 64bit
Graphic platform: Wayland, haven't tried X11 yet

Additional information:
I'm not at all sure what component is responsible for this issue, so I reported to the closest component I could think of. Please assign to any other component which you know is at fault.
Comment 1 thebluequasar 2022-10-27 20:29:06 UTC
Created attachment 153246 [details]
screenshot 2: mid-eastern charcters and vertical space occupied