White text on white background for HTML e-mail

Bug #1841646 reported by Bruce Pieterse
98
This bug affects 18 people
Affects Status Importance Assigned to Milestone
Evolution
Fix Released
Unknown
evolution (Ubuntu)
Fix Released
High
Sebastien Bacher
Bionic
Fix Released
Undecided
Unassigned

Bug Description

* Impact
Using some themes viewing an HTML e-mail which does not define a default color for the text, Evolution renders the e-mail with white text on a white background.

* Test case

This only seems to affect the Adwaita Dark and Yaru Dark themes. Switching to Adwaita or any other non-dark theme, the background is white, and the text is black.

Select a such theme and try to view an HTML email

* Regression potential

Check that html rendering is still fine with the default theme and others

----------------------

Prior to the updates that landed this week, the text use to be black for items such as "Retrieving message <identifier>" and inline calendar event details. These have now changed to white text for dark themes, which is correct, but might have also introduced the white text on white background issue for HTML mail messages that don't define a default text color.

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: evolution 3.33.4-1build1
ProcVersionSignature: Ubuntu 5.2.0-13.14-generic 5.2.8
Uname: Linux 5.2.0-13-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Aug 27 19:48:37 2019
InstallationDate: Installed on 2019-02-01 (206 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20181202)
SourcePackage: evolution
UpgradeStatus: Upgraded to eoan on 2019-07-09 (48 days ago)

Revision history for this message
Bruce Pieterse (octoquad) wrote :
Revision history for this message
Bruce Pieterse (octoquad) wrote :

I forgot to add that this upstream report (https://gitlab.gnome.org/GNOME/evolution/issues/292) indicates that issues like this are related to the theme, rather than evolution itself.

Revision history for this message
Bruce Pieterse (octoquad) wrote :
Revision history for this message
Bruce Pieterse (octoquad) wrote :
Revision history for this message
Bruce Pieterse (octoquad) wrote :
Download full text (4.8 KiB)

I know see the following when going through messages, irrespective if it's HTML or plain text:

Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::DocumentHasSelection: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::DocumentHasSelection: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::EWebViewEnsureBodyClass: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::EMailDisplayBindDOM: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::EWebViewEnsureBodyClass: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::EMailDisplayBindDOM: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep 11 19:28:06 hostname evolution[3705]: Failed to call a DBus Proxy method org.gnome.Evolution.WebExtension::AddCSSRuleIntoStyleSheet: Invalid page ID: 5
Sep ...

Read more...

Revision history for this message
Nicolas Damgaard Larsen (ndl101) wrote :

I am experiencing a similar issue. There is an upstream bug report which might be related to this. https://gitlab.gnome.org/GNOME/evolution/issues/617

Revision history for this message
Nicolas Damgaard Larsen (ndl101) wrote :

For me this started after an unattended upgrade

Start-Date: 2019-11-08 08:50:06
Commandline: /usr/bin/unattended-upgrade
Upgrade: libwebkit2gtk-4.0-37:amd64 (2.24.4-0ubuntu0.18.04.1, 2.26.1-0ubuntu0.18.04.1), libjavascriptcoregtk-4.0-18:amd64 (2.24.4-0ubuntu0.18.04.1, 2.26.1-0ubuntu0.18.04.1)
End-Date: 2019-11-08 08:50:09

Start-Date: 2019-11-08 08:50:13
Commandline: /usr/bin/unattended-upgrade
Upgrade: gir1.2-webkit2-4.0:amd64 (2.24.4-0ubuntu0.18.04.1, 2.26.1-0ubuntu0.18.04.1), gir1.2-javascriptcoregtk-4.0:amd64 (2.24.4-0ubuntu0.18.04.1, 2.26.1-0ubuntu0.18.04.1)
End-Date: 2019-11-08 08:50:14

Any chance we'lll se the fix released into 18.04?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evolution (Ubuntu):
status: New → Confirmed
Revision history for this message
Mark - Syminet (mark-syminet) wrote :

Same behavior here, after unattended upgrade. This renders Evolution pretty much unusable with dark theme.

Revision history for this message
Bruce Pieterse (octoquad) wrote :

Thanks for commenting. I've been meaning to mark this as "Fix Released" as the fix landed a few weeks back in 19.10 (Eoan).

Looks like it will have to be backported. Unfortunately, I don't have Bug Triaging rights for Ubuntu, but hopefully some one else CC'ed in can set this to Triaged.

Revision history for this message
Mark - Syminet (mark-syminet) wrote :

Thanks, was really surprised to see this happen in an LTS release. Any Ubuntu devs reading this, can we get a backport?

Changed in evolution:
status: Unknown → Fix Released
Revision history for this message
Anirudh (t-ansrin-deactivatedaccount) wrote :

Ubuntu devs, please have a look at getting this backported. This is a user experience breaking bug and it cannot be left unfixed in an LTS release. I strongly urge someone with the powers to get this backported to ubuntu 18.04.

tags: added: bionic regression-update
Changed in evolution (Ubuntu):
assignee: nobody → Jeremy Bicha (jbicha)
Revision history for this message
Pietro Mingo (skar395) wrote :

I also have this problem in ubuntu 18.04, will I receive an update?

Thank you

Revision history for this message
Ste Venso (stevenso) wrote :

Hi, Will this bug fix in the near future? Thanks.

Revision history for this message
Rico Lin (rico-lin) wrote :

I got same problem as reported here

Revision history for this message
Mark - Syminet (mark-syminet) wrote :

When av LTS is relkeased, is is considered according to it's promise: 6 years.
But yet, after 3.5 years, here we are.

Someone else said it works fine in Eoan.

...who approved this SRU?

Revision history for this message
ArchPhoenix team (archphoenix) wrote :

Looks like no regression testing were made before releasing the libwebkit2gtk update.

This issue makes basic computer tasks such as reading e-mail a difficult moment.

Revision history for this message
dave marsdin (dimspace) wrote :

The short term fix can be to downgrade the two required libraries.

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

Evolution works again and I have blocked updating of those two for now.

Revision history for this message
Christopher Howard (howardtopher) wrote :

Ubuntu Budgie users (like me) can't use that fix as apt is saying it will remove ubuntu-budgie-desktop. That will make a big mess.

I find it disconcerting that this was reported over 4 months ago, was confirmed to be a real bug over 2 months ago, and there has been zero response in terms of a fix. Surely this won't take but a few minutes of someone's time to fix.

Revision history for this message
Nicolas Damgaard Larsen (ndl101) wrote :

I'm not expecting this to be fixed in 18.04 as I imagine that this issue considered low importance since it can be worked around by changing theme. Add to that the fact that the devs and package maintainers probably are pretty busy after the 19.10 release and working towards 20.04. The be fair, this is not really a game breaking bug but more an inconvenience.

@Christopher Howard (howardtopher):
I'm sure you're welcome to contribute a bugfix. Seeing as this is such a quick and easy fix this should be no problem for you.

For those (like me) who prefer to stick to the dark theme, here's how to downgrade the needed packages fairly safely.

Create a file called libwebkit2gtk-downgrade under /etc/apt/preferences.d/
Paste the following into it:

Package: libwebkit2gtk-4.0-37
Pin: version 2.20*
Pin-Priority: 550

Package: libjavascriptcoregtk-4.0-18
Pin: version 2.20*
Pin-Priority: 550

Package: gir1.2-webkit2-4.0
Pin: version 2.20*
Pin-Priority: 550

Package: gir1.2-javascriptcoregtk-4.0
Pin: version 2.20*
Pin-Priority: 550

From a terminal run:

sudo apt-get install libwebkit2gtk-4.0-37=2.20.1-1 libjavascriptcoregtk-4.0-18=2.20.1-1 gir1.2-webkit2-4.0=2.20.1-1 gir1.2-javascriptcoregtk-4.0=2.20.1-1

This won't remove the *-desktop package.

tags: added: rls-ff-incoming
Revision history for this message
Marty Lucich (mar3ty) wrote :

Thank you Nicolas for fixing Evolution so I can read email again.
I am somewhat vision impaired and changing the desktop theme is not a reasonable option for me.
Your instructions worked perfectly.

tags: removed: rls-ff-incoming
Revision history for this message
Sebastien Bacher (seb128) wrote :

Closing the default target since it's fixed in 19.10, I've uploaded a bionic SRU now

Changed in evolution (Ubuntu):
importance: Undecided → High
status: Confirmed → Fix Released
assignee: Jeremy Bicha (jbicha) → Sebastien Bacher (seb128)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Bruce, or anyone else affected,

Accepted evolution into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/evolution/3.28.5-0ubuntu0.18.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in evolution (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Christopher Howard (howardtopher) wrote :

I've tested version 3.28.5-0ubuntu0.18.04.2 and all looks to be working properly.

I removed the preference file that prevented libwebkit2gtk from upgrading and then upgraded it. Then upgraded evolution from the bionic-proposed repository.

All emails that were displaying white text on a white background are no longer doing that. Text is now black. I've seen no other problems with evolution so far.

tags: added: verification-done-bionic
removed: verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution - 3.28.5-0ubuntu0.18.04.2

---------------
evolution (3.28.5-0ubuntu0.18.04.2) bionic; urgency=medium

  * debian/patches/ubuntu_gettext_domain.patch:
    - backport an upstream commit to fix a regression with newer webkitgtk
      which leads html email to be rendered in white (lp: #1841646)

 -- Sebastien Bacher <email address hidden> Tue, 24 Mar 2020 16:27:49 +0100

Changed in evolution (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for evolution has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Nicolas Damgaard Larsen (ndl101) wrote :

This is very good news. Thanks to everyone involved in fixing this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.