Bug 425433

Summary: HTML Preview is slow (for some messages)
Product: [Applications] kmail2 Reporter: Daniel Schulte <trilader+kdebugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.15.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Schulte 2020-08-16 19:19:25 UTC
SUMMARY
For some messages rendering the HTML preview is slow. After selecting the message it takes about 2.2 seconds (measured with stopwatch) before the message content is visible. If switching between messages the old message content is displayed while the message list already shows the new message as selected.

For some messages it's faster but still takes around a second.
The same message in Thunderbird load with no noticeable delay.

STEPS TO REPRODUCE
1. Open/switch to a message from a sender which is set to display as HTML by default
2. Wait..
3. See that it took some time to display it.

OBSERVED RESULT
Rendering the HTML message is slow.

EXPECTED RESULT
It should be fast :-)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
I can supply messages to test with.