Bug 400384

Summary: HTML view in kmail not working correctly
Product: [Applications] kmail2 Reporter: Tim Folger <tf>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: REOPENED ---    
Severity: normal CC: montel, nortexoid
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tim Folger 2018-10-27 22:10:55 UTC
SUMMARY

I'm running an up-to-date version of opensuse tumbleweed: kde plasma 5.14.1, kernel 4.18.15-1, kontact 5.9.2. In kmail's security and privacy settings I have selected "Prefer HTML to plain text" and "Allow messages to load external references from the Internet." But my emails don't load images from the Internet, and I have to click on "This HTML message may contain external references to images etc. For security/privacy reasons external references are not loaded. If you trust the sender of this message then you can load the external references for this message by clicking here." After I click, the images load correctly. But I have to do this for every html message.

The html bar at the side of the message lists the message as an html message, but no images appear in the message.


STEPS TO REPRODUCE
1. open html message
2. no images or Internet references displayed.
3. Click to load images.

OBSERVED RESULT
Need to click on every html message to load images


EXPECTED RESULT
Images should load automatically and follow the selected privacy settings: "Prefer HTML to plain text" and "Allow messages to load external references from the Internet." 


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.1
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Comment 1 Michael D 2018-10-28 07:31:02 UTC
I have the same issue on Manjaro testing, kmail 5.9.2.
Comment 2 Laurent Montel 2018-10-31 06:53:23 UTC
Fixed in 5.9.3
Comment 3 Michael D 2018-10-31 09:22:55 UTC
Great, thanks!
Comment 4 Tim Folger 2018-10-31 17:16:05 UTC
That's good news, thanks!
Comment 5 Tim Folger 2018-11-15 05:27:06 UTC
The bug is still present in kontact 5.9.3 in opensuse.
Comment 6 Tim Folger 2018-11-16 17:47:36 UTC
I managed to solve my problem. in /home/.config there's a file called kmail2rc. I searched the file for "html' and found the following line in several different places: htmlLoadExternalOverride=false

So I first created a backup file of kmail2rc, and then I changed "false" to "true" in those lines. Then I saved the file and closed it. Now the html settings work correctly!