Bug 516020

Summary: E-mail post header links should not adopt colors from the HTML content style
Product: [Applications] kmail2 Reporter: Jure Repinc <jlp>
Component: generalAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: Git (master)   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Header colors example

Description Jure Repinc 2026-02-15 07:29:11 UTC
Created attachment 189606 [details]
Header colors example

SUMMARY
KMail recently got a new feature where the colours from HTML post content is honoured and custom user colours are not used for HTML posts. This includes link colours. However in this case the posts link colors are also used for links in post header box (the one with subject, sender...) which I don't like and can also make links there hardly visible if the links in post are by any chance set to a color that is almost the same as the header background.

STEPS TO REPRODUCE
1. Make sure that the setting to never change HTML post colors is set
2. Open a HTML post

OBSERVED RESULT
Post link colors are also used in header box

EXPECTED RESULT
Header box always uses the custom user colors for links and text and never adopts colors from HTML post itself.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20260212
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.18.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600 6-Core Processor
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor: AMD Radeon RX 7900 GRE