Bug 450550 - K-Mail does not print images in an e-mail
Summary: K-Mail does not print images in an e-mail
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 5.13.3
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-19 05:55 UTC by Joshua J. Kugler
Modified: 2023-06-06 21:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua J. Kugler 2022-02-19 05:55:39 UTC
SUMMARY
K-Mail does not print the images in an e-mail. "Print background color and images" is checked in Settings -> Misc -> Printing


STEPS TO REPRODUCE
1. Get an e-mail with images referenced remotely
2. Print

OBSERVED RESULT
"Broken image" icon in print out

EXPECTED RESULT
E-mail printed with images viewable as when viewed in Kmail

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  
KDE Plasma Version: 5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 Joshua J. Kugler 2022-02-19 05:56:06 UTC
This bug has been around for quite a while. I found this when googling: https://www.reddit.com/r/kde/comments/eu0wjo/kmail_print_image/
Comment 2 Jonathan Marten 2022-02-21 11:52:47 UTC
Duplicate of bug 391030?  Although that was fixed in 2020.
Comment 3 Joshua J. Kugler 2022-02-21 20:41:45 UTC
Not an exact duplicate, as that bug said "Wherever a graphic image is in an email, it gets replaced with blank space in the printout."

This may be related to a security setting. I have K-Mail configured to show all graphics when it displays e-mail. However, if I open the e-mail in a separate window, I get a message that says:

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

And all the images are broken image icons. I went through all the security settings and couldn't find any additional settings that allowed images in separate windows or when printing. I wonder if some (hidden?) setting is prevent it from fetching images during a print. There is no print preview, so I can't check that. way. Even if I click the link to load images in the external window, it still prints with broken image icons.
Comment 4 Laurent Montel 2022-02-22 06:37:11 UTC
Indeed it's broken.
I will work on it soon.
Comment 5 Joshua J. Kugler 2023-06-06 21:46:43 UTC
This is fixed as of (and maybe before) KMail Version 5.23.1 (23.04.1). I was just able to print an e-mail with all images included.

This worked both with hitting Ctrl-P while the mail displayed in the main window, and opening the message in a separate window and hitting Ctrl-P.