Bug 434132 - Text on HTML-"buttons" invisible
Summary: Text on HTML-"buttons" invisible
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.15.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-08 08:26 UTC by Attila
Modified: 2021-10-19 06:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Text on button invisible (1022 bytes, image/png)
2021-03-08 08:26 UTC, Attila
Details
Text on button highlighted (1.53 KB, image/png)
2021-03-08 08:27 UTC, Attila
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila 2021-03-08 08:26:55 UTC
Created attachment 136478 [details]
Text on button invisible

SUMMARY
The text on "modern" buttons is invisible in almost every HTML-formatted e-mail. I have to higlight the text by mouse to be able to read the text on those buttons (see attachments).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: Fedora 33
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.16-200.fc33.x86_64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4770T CPU @ 2.50GHz
Memory: 7.2 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600
Comment 1 Attila 2021-03-08 08:27:50 UTC
Created attachment 136479 [details]
Text on button highlighted
Comment 2 Attila 2021-03-15 12:38:29 UTC
Additional information:

The "modern" button is a square with a color and a text inside. The text is a link (<a href="" style="color: #21314D">).
This and any other color is ignored by KMail and is always overwritten by "#2980B9". Is "#2980B9" the default color for links?
This is only affacted to HTML-Tag <a href=""></a>.
Hopefully it is not a big deal to fix it, is it?
Comment 3 Attila 2021-04-29 06:34:00 UTC
Can someone please take a look at this?
Comment 4 Attila 2021-10-18 07:28:42 UTC
The bug still exists on Fedora 34, KMail 5.16.2.
Can someone please take a look at this bug?
It is a bad user experience when E-Mails are not displayed correct and therefore the user can't read them.
Comment 5 Laurent Montel 2021-10-18 10:58:48 UTC
(In reply to Attila from comment #4)
> The bug still exists on Fedora 34, KMail 5.16.2.
> Can someone please take a look at this bug?
> It is a bad user experience when E-Mails are not displayed correct and
> therefore the user can't read them.

There is a checkbox in configure->appearence->color-> "do not change color from origin html" could you check it and verify if it fixes your problem ?
As there is not a testcase here I can't test it.
Comment 6 Attila 2021-10-18 20:08:01 UTC
Thank you for your quick reply. Indeed the checkbox "do not change color from origin html" wasn't ticked. That fixes the issue.

Shouldn't the checkbox be ticked by default to avoid incorrect display on the screen?
Comment 7 Laurent Montel 2021-10-19 06:01:49 UTC
(In reply to Attila from comment #6)
> Thank you for your quick reply. Indeed the checkbox "do not change color
> from origin html" wasn't ticked. That fixes the issue.
> 
> Shouldn't the checkbox be ticked by default to avoid incorrect display on
> the screen?

Not by default as for example all user which use only text email will want that we use kde color. (it's the default from origin).