Bug 472082

Summary: KMail doesn't load externally referenced images when email is displayed in own window with respect to relevant setting
Product: [Applications] kmail2 Reporter: Michael <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: luna
Priority: NOR    
Version: 6.1.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael 2023-07-08 22:34:12 UTC
SUMMARY

KMail doesn't respect the "Allow messages to load external references from Internet" setting for emails when displayed in their own window. It respects the setting only in the preview pane.

STEPS TO REPRODUCE

1. Go to KMail -> Settings menu -> Configure KMail -> Security tab, -> ensure that "Allow messages to load external references from Internet" is checked
2. Back in KMail's main interface, find an email that has HTML content with pictures. Click on it. In the preview pane, external references appear as they should.
3. Now double-click on the email item to make it appear in its own window.

OBSERVED RESULT

When the email is in its own window, no external HTML pictures are loaded. Instead a red box appears with this message: 

"Note: 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."

EXPECTED RESULT

Externally referenced HTML pictures should be immediately visible, as they are in the preview pane.

SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 5.19.0-46-generic (64-bit)
Graphics Platform: X11