Bug 366581 - messageviewer does not wrap long JSONs with no spaces
Summary: messageviewer does not wrap long JSONs with no spaces
Status: REPORTED
Alias: None
Product: kdepim
Classification: Applications
Component: messageviewer (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-10 10:45 UTC by Alexander Potashev
Modified: 2021-06-24 20:12 UTC (History)
2 users (show)

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


Attachments
Life (6.76 KB, application/zip)
2021-06-24 20:05 UTC, Hari
Details
Life (493 bytes, application/json)
2021-06-24 20:10 UTC, Hari
Details
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" (7.87 KB, text/plain)
2021-06-24 20:12 UTC, Hari
Details

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