Bug 461446

Summary: Text of HTML mails often unreadable in Dark Mode color schemes (light on light)
Product: [Applications] kdepim Reporter: Stefan Brüns <stefan.bruens>
Component: messageviewerAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Stefan Brüns 2022-11-05 03:01:17 UTC
SUMMARY

HTML mails often contain dark text on light background. In case the background color is set for individual divs or similar, the dark mode style makes the font color light, while only the body background color is made dark, while the actual background behind the text is still light.

STEPS TO REPRODUCE

Stripped down content:
<body style="background-color:#fff; color:#000">
<div style="background-color:#fff>
Text
</div></body>

OBSERVED RESULT
Text is white on white in dark mode

EXPECTED RESULT
Text is black on white

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20221015
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.1-1-default (64-bit)
Graphics Platform: Wayland