After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772233 - White flash on mail area of email reader
White flash on mail area of email reader
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
3.22.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2016-09-30 09:02 UTC by Russel Winder
Modified: 2016-10-06 14:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Russel Winder 2016-09-30 09:02:25 UTC
Debian Sid has just moved 3.20 → 3.22 and now whenever moving from email to email, there is a white flash  before the email is rendered in the email reading area. I am using GNOME dark mode. All the areas of Evolution are rendering correctly per se, but this white flash on every change of email is very, very disturbing and disruptive.

I am assuming that the email reading area is defaulting to white instead of the default background colour of the GNOME theme currently in place.

I have set the severity to major as this is a bit of a UX nightmare even though nothing is broken about the behaviour of Evolution.
Comment 1 Milan Crha 2016-10-06 11:51:15 UTC
Thanks for a bug report. It's most likely due to the WebKit2 not having set correct colors from the theme. It's always a pita to get colors from theme, a bigger pita each new release of the gtk+. I cannot tell for sure whether it's the case here, though.

What is your exact theme name, please? You name it "GNOME dark mode", does it mean a dark variant of the Adwaita theme under GNOME Shell desktop environment?
Comment 2 Russel Winder 2016-10-06 12:26:26 UTC
Yes, I use the default Adwaita theme with global dark theme set and GNOME Shell. All fully up to date under Debian Sid.

I have not checked recently with Fedora Rawhide, but that is also default Adwaita with global dark theme and GNOME Shell.
Comment 3 Tomas Popela 2016-10-06 14:56:04 UTC
Fixed with the following commits:

    Bug 772233 - White flash on mail area of email reader
    
    Set the WebKitWebView background color with
    webkit_web_view_set_background_color() as this color will be used before
    the actual content will be rendered (and before we will have a chance to
    inject the right background color through CSS) and it will avoid white
    flash when using a black theme.
    
commit adef8d4 in the master branch for Evolution 3.23.1+
commit 81babbc in the gnome-3-22 for Evolution 3.22.1+