[snap] emoji show as black and white if fonts-symbola is installed

Bug #1794354 reported by Jeremy Bicha on 2018-09-25
This bug affects 2 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)

Bug Description

I'm using the Chromium Snap from the Beta channel.

Test Case
0. Be sure you don't have the Chromium deb running.
1. Visit https://launchpad.net/bugs/1779569
The rainbow emoji 🌈 should show in color
2. sudo apt install fonts-symbola
3. Close Chromium. Wait a few moments to make sure it closes then open it and repeat step 1
4. The rainbow emoji 🌈 shows in black and white

Other Info
Firefox and GTK apps like gedit correctly show 🌈 in color as long as fonts-noto-color-emoji is installed, regardless of whether fonts-symbola is also installed.

I also was unable to duplicate this bug with the Firefox Snap [edge channel 63.0b9-1 (134)].

System Info
Ubuntu 18.10
fonts-noto-color-emoji 0~20180810-1

$ snap info chromium
name: chromium
summary: Chromium web browser, open-source version of Chrome
publisher: Canonicalβœ“
contact: https://forum.snapcraft.io/
license: unset
description: |
  An open-source browser project that aims to build a safer, faster, and more stable way for all
  Internet users to experience the web.
  - chromium
snap-id: XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R
tracking: beta
refresh-date: 8 days ago, at 13:41 EDT
  stable: 69.0.3497.100 (494) 141MB -
  candidate: 69.0.3497.100 (494) 141MB -
  beta: 70.0.3538.16 (487) 142MB -
  edge: 70.0.3538.9 (472) 142MB -
installed: 70.0.3538.16 (487) 142MB -

Jeremy Bicha (jbicha) wrote :

What distro version are you building the Snap from? Maybe you need fontconfig from bionic?

summary: - emoji show as black and white if fonts-symbola is installed
+ [snap] emoji show as black and white if fonts-symbola is installed
Olivier Tilloy (osomon) wrote :

Indeed the snap links against and contain libfontconfig.so.1.9.0, from xenial.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Olivier Tilloy (osomon) wrote :

The snap is now being built on bionic. However the issue can still be observed. What's more, it's not snap-specific. The deb is similarly affected.

ChunhaoHung (otakuxtom) wrote :

I have issue with this on ubuntu 20.04 focal, I have setup the color emoji for chromium and another program for using.
Once I update to 20.04 and it using snap version of chromium, It turn back to black and white emoji which is quiet annoy me for spending time to debugging it and find out that is snap version causing it.

I have turn the chromium-browser back to deb version and it all back to normal.

Mark Jarrell (jarrellmark) wrote :

Here's a quick fix:

sudo apt remove fonts-noto-color-emoji
sudo apt install fonts-noto-color-emoji

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

Other bug subscribers