Font shows as squares when downloading attachment


To Reproduce…

Steps to reproduce the behavior:

  1. Using Linux Fedora 34, KDE Spin
    2.Installed via Snap
    3.Updated to Mailspring 1.9.2
    4.Open email that has attachment
  2. download the attachment
  3. The ‘Save As’ dialog will show all text with squares. I suspect that the font is somehow wrong or not included in the snap.

Expected Behavior

The ‘Save as’ dialog font should not render as squares but as letters.



Mailspring 1.9.2

  • OS and Version: Linux, Fedora 34, KDE Spin
    • Installation Method: Installed using Snap
  • Mailspring Version: Mailspring 1.9.2

Additional Context

I confirm the bug in snap on Opensuse Tumbleweed

Same bug with snap and Ubuntu 21.04

Same issue! Fedora 34 WKS Gnome 40.4.0 Wayland. Snap version 1.9.2

Exact same issue with Manjaro (rolling) using snap depo 1.9.2

Same here. Ubuntu 20.04.3, xfce 4.16

Experience same issue.

  • Mailspring Snap version 1.9.2
  • Ubuntu 21.04
  • Gnome 3.38.5
  • Windowing system X11

Mailspring Snap 1.9.2
Arch kernel 5.12.15
Gnome 40.2
Windowing system X11

I have the same issue: ubuntu 20.04.2 LTS, 1.9.2-6e14dad1

it s also buggy for other dialogs - for example adding attachment while composing new mail

I experience the same bug every time I try to open a box dialog to attach or save as something.
This bug should be a problem regarding snap (it happens for other snaps), but I did not try with the .deb version.

A workaround (on Ubuntu 20.04) is the following:
rm -rf ~/snap/mailspring/common/.cache/fontconfig/
fc-cache -rv


is this bugtracking list being followed by devs? Maybee what counts is the issue list on github?

I confirm, this fixes the issue on PopOS 21.04

thanks, works for me on Debian 11

On Fedora 34, I have a ~/snap/mailspring/common/.cache/fontconfig/fc3b2af7b38f296247b7fcc731836117-le64.cache-6 but no fc-cache in that folder. Deleting it does not solve the problem.

Do you have to reinstall mailspring afterwards, or just quit and reopen?

On 1.9.2 Archlinux I didn’t have an fc-cache in the fontconfig folder. Tried deleting the fontconfig folder, but it is simply recreated and subsequently see the same issue.

Thanks, also works for me in Fedora 35

fc-cache is a command (/usr/bin/fc-cache for me on Ubuntu 20.04)