Bug 387624 - "Show html format" and "Load external reference" for selected contact not working.
Summary: "Show html format" and "Load external reference" for selected contact not wor...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 5.5.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-05 19:41 UTC by easy_john
Modified: 2020-04-28 19:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Both options are selected, but message still dispayed w/o html and images. (68.81 KB, image/png)
2017-12-05 19:41 UTC, easy_john
Details
Both options are selected, but message still dispayed w/o images (123.24 KB, image/png)
2020-04-28 08:29 UTC, easy_john
Details

Note You need to log in before you can comment on or make changes to this bug.
Description easy_john 2017-12-05 19:41:22 UTC
Created attachment 109220 [details]
Both options are selected, but message still dispayed w/o html and images.

All messages in preview area displayed w/o html format (this is ok).
For some selected contacts I chose "Show html format" and "Load external reference".
But this is not affect at all.
I know, that I need reselect message, to this changes start to work.
Or (for some contacts) it do something one - show html, but don't load external references.

This items works fine in previous version (kde-base/kmail-4.14.8), that I've used.
Comment 1 null 2020-04-11 09:41:31 UTC
While I could reproduce this issue with KMail 5.5.2, nowadays it seems to work correctly with KMail 5.9.2 (Qt 5.11.2 / KF 5.51) as well as KMail 5.14.40 (Qt 5.14.1 / KF 5.69). Therefore closing the bug.

If at all, there might still be an issue with remote address books, see Bug 377554.
Comment 2 easy_john 2020-04-28 08:29:16 UTC
No, this bug is still reproduced on updated system:

linux kernel 5.4.28
KMail Version 5.13.3 (19.12.3)
KDE Frameworks 5.67.0
Qt 5.14.1 (built against 5.14.1)
The xcb windowing system
Comment 3 easy_john 2020-04-28 08:29:59 UTC
Created attachment 127942 [details]
Both options are selected, but message still dispayed w/o images
Comment 4 Laurent Montel 2020-04-28 08:57:34 UTC
I can't reproduce it here.
It works fine in last version.
Comment 5 easy_john 2020-04-28 10:46:52 UTC
May this be related to some configuration files in ~/.config/ or other hidden folders?
Comment 6 null 2020-04-28 19:13:09 UTC
As you can see from your screenshot, viewing HTML was fixed indeed, compared to your original report. Only loading external images still seems to fail for you.

That being said, I tested this again with the current git version as well as with KMail 5.13.3 by inserting "<img src=https://localhost:8080/image.png>" in a new mail and serving said image with "python -m SimpleHTTPServer 8080". After toggling "Load external..." from the contact's context menu I could observe the GET request and the image displayed fine. With the git version, even reloading the message was not necessary, just like it should be.

I would suggest to:
- wait for KMail 5.14.1, which has lots of related fixes
- check whether external images load at all, i.e. when the global option for that is turned on
- turn off KMail's ad blocker
- test with a separate/new local user account on your machine, i.e. check with a fresh KMail/Akonadi config
- test if another application is able to show the image, e.g. Thunderbird (to rule out a broken webserver).

If this still does not work in KMail, please file a new bug with clear steps to reproduce and most importantly attach the broken mail as an mbox file.

> May this be related to some configuration files
See fourth suggestion from above on how to test this easily.