Bug 374426

Summary: HTML email is unreadable with dark theme
Product: [Applications] kmail2 Reporter: Hugh Williams <hmlwilliams>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: 318bcb, auxsvr, dpbasti, herzenschein, med.medin.2014
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Hugh Williams 2017-01-01 17:15:56 UTC
When utilising dark desktop themes it is impossible to read the text from HTML emails which fail to set a background with dark text on dark backgrounds. A possible workaround is to use per-application theming and choose a lighter theme for KMail, which has been discussed and implemented in KColorSchemeManager I think (see bug #279592)?
Comment 1 Thiago Sueto 2020-12-20 20:17:32 UTC
I can confirm that HTML email often gets unreadable when using Breeze Dark.

How about a simpler approach: whenever an email is shown as HTML (regardless of automatic setting or manually clicking the HTML Message button), the setting "Do not change the color of the original email" is enabled automatically.

HTML is extensively used to portray style (if not the main reason to use it to begin with). This often includes things like background colors, and it seems undesirable to nullify such things when reading email, especially when it's not possible to ensure readability and proper contrast.

Doing this will not require KMail itself to have a light theme in order for HTML email to be readable.
Comment 2 Arek Guzinski 2021-10-15 10:28:39 UTC
*** Bug 436971 has been marked as a duplicate of this bug. ***
Comment 3 318bcb 2024-02-17 02:28:29 UTC
This is still an issue for me on Linux Mint 21.3 Cinnamon with the Kontact 23.08.4 flatpak.
Comment 4 Sebastian TurzaƄski 2024-03-05 11:06:47 UTC
I confirm in Plasma 6 24.02