Bug 366581

Summary: messageviewer does not wrap long JSONs with no spaces
Product: [Applications] kdepim Reporter: Alexander Potashev <aspotashev>
Component: messageviewerAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: hariashok2691, montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Life
Life
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Description Alexander Potashev 2016-08-10 10:45:15 UTC
messageviewer does not wrap long JSONs with no spaces in email body, I have to use horizontal scrollbar while there's not good reason for that.

Reproducible: Always

Steps to Reproduce:
1. Receive a save to draft an email with smth like {"abacabadabacaba":"abacabadabacaba","totalVotePercentage":146,"favoriteBeer":"fdshfkljdshfkjncvjewrnfjewklewewfjkljewfkljewcklmwfjewkljewrfkewkljwkefj"}
2. Look at it in the message viewer in KMail.

Actual Results:  
The JSON makes the email width exceed the widget width, thus I have to use the scrollbar.

Expected Results:  
Wrap the line, at least after commas.

kmail 5.2.3


KDE Frameworks 5.24.0,
Qt 5.6.1 (собрана с версией 5.6.1),
Оконную систему xcb.
Comment 1 Laurent Montel 2016-08-11 05:55:52 UTC
It seems wierd to receive a json file in body :)
But I will investigate it
Comment 2 Hari 2021-06-24 20:05:52 UTC
Created attachment 139645 [details]
Life
Comment 3 Hari 2021-06-24 20:10:07 UTC
Created attachment 139646 [details]
Life
Comment 4 Hari 2021-06-24 20:12:47 UTC
Created attachment 139647 [details]
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"