Bug 498358

Summary: KMail doesn't show inline images in HTML emails in the message preview
Product: [Applications] kmail2 Reporter: Tobias Leupold <tl>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel, tl
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The message in the composer window
The message as shown in the preview
The message when shown in an extra window

Description Tobias Leupold 2025-01-07 18:22:36 UTC
KMail's version here on Gentoo is 24.08.3. So I'm not sure which version to pick above …

SUMMARY

KMail doesn't show inline images in HTML emails in the message preview, not even for messages created with KMail itself.

STEPS TO REPRODUCE
1. Write a HTML email
2. Add an inline image
3. Send it to yourself
4. Click on it in the message list
5. If not done by default, switch to the HTML view

OBSERVED RESULT

The message lacks the image

EXPECTED RESULT

To see the image, obviously :-)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION:

The image is shown when the message is opened in an extra window – but not in the preview. I'll attach some screen shots.
Comment 1 Tobias Leupold 2025-01-07 18:23:08 UTC
Created attachment 177177 [details]
The message in the composer window
Comment 2 Tobias Leupold 2025-01-07 18:23:30 UTC
Created attachment 177178 [details]
The message as shown in the preview
Comment 3 Tobias Leupold 2025-01-07 18:23:47 UTC
Created attachment 177179 [details]
The message when shown in an extra window
Comment 4 Laurent Montel 2025-01-08 07:05:25 UTC
I can't reproduce here.
It works fine in preview or in extra windows.

(Wierd if in extra windows it works but not in preview)
Comment 5 Tobias Leupold 2025-01-08 10:22:38 UTC
This is odd. I just noticed it works as expected on my notebook, which has Artix. There, I have KMail 24.12 (what's it with that versions one can choose here?!).

I'll try to upgrade to 24.12 on my Gentoo machine too and check if the issue is gone …
Comment 6 Tobias Leupold 2025-01-08 18:06:18 UTC
Doesn't happen with 24.12.0. Seems to be fixed meanwhile.