Bug 320554

Summary: kmail hangs when opening (or replying to) large email
Product: [Applications] kmail2 Reporter: Roman K. <roman.karlstetter>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: 4.10.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Roman K. 2013-05-31 21:52:28 UTC
When opening a large email (8800 lines), the complete UI freezes and one of my CPU cores is at 100%. After that, everything works fine again. 

This happens for example when replying  to a long email thread where there are a lot of replies already. This happens for the same mail when I save it as a draft and reopen it.

One other thing, I use automatic line breaks, so I have a lot of lines like the following:
> > > > > > > > > >> > > > > > > > > > > > > > > > > >> >> > > > > > > > > > R
> > > > > > > > > >> > > > > > > > > > > > > > > > > >> >> > > > > > > > > > o


Reproducible: Always

Steps to Reproduce:
1. Reply to a large email
2. Wait and observe CPU-consumption
3. 
Actual Results:  
UI freezes, high CPU-consumption

Expected Results:  
Not freeze UI, but just make allow editing the mail immediately.
Comment 1 Denis Kurz 2016-09-24 18:20:58 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:03:44 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.