horst3180 / arc-theme

A flat theme with transparent elements
GNU General Public License v3.0
8.28k stars 613 forks source link

Arc-Dark + Evolution + HTML Emails with no defined font-color #916

Closed Fmstrat closed 4 years ago

Fmstrat commented 4 years ago

Details

When using Arc-Dark, Evolution has some odd behavior when displaying a basic HTML email. Basically we end up with a light font on a light background. The best way to point this out is with screenshots, so I've attached an email sent to myself using Evolution that has HTML and Plain Test, along with screenshots in HTML and Plain Text mode (Right click, "Display plain text version", then click on the message list and it magically changes to readable).

Message source:

Content-Type: multipart/alternative; boundary="=-VphCGmkeL7G0xMWz9woU"
Mime-Version: 1.0
X-Evolution-Source: 6a0e63b2b3e5479ef2383e6576d5a90c50b8ec95

![HTML view](https://user-images.githubusercontent.com/971474/68866457-7388f900-06c2-11ea-91c5-7e248e742b8b.png)

--=-VphCGmkeL7G0xMWz9woU
Content-Type: multipart/alternative; boundary="=-VphCGmkeL7G0xMWz9woU"
Mime-Version: 1.0
X-Evolution-Source: 6a0e63b2b3e5479ef2383e6576d5a90c50b8ec95

--=-VphCGmkeL7G0xMWz9woU
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Test

Thanks,
Ben

--=-VphCGmkeL7G0xMWz9woU
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html dir=3D"ltr"><head></head><body style=3D"text-align:left; direction:lt=
r;"><div>Test</div><div><span><div style=3D"width: 71ch;"><br></div><div st=
yle=3D"width: 71ch;">Thanks,</div><div style=3D"width: 71ch;">Ben</div></sp=
an></div></body></html>

--=-VphCGmkeL7G0xMWz9woU--

HTML view HTML view

Plain text mode (Right click, "Display plain text version", then click on the message list and it magically changes to readable) Plain Text mode

Fmstrat commented 4 years ago

This seems to be due to a change in libwebkit: https://gitlab.gnome.org/GNOME/evolution/issues/617

I have temporarily fixed it with this if anyone else is running into the issue:

sudo apt-get install libwebkit2gtk-4.0-37=2.20.1-1 libjavascriptcoregtk-4.0-18=2.20.1-1