From 3d33d94a6caad2dfd08b464f1ad7c06262f2a880 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Sun, 11 Jan 2026 11:44:44 +0100 Subject: [PATCH] fix(snap): isolate fontconfig cache to fix GTK dialog rendering Set FC_CACHEDIR to a Snap-specific directory to prevent ABI mismatches with the host system's fontconfig cache. This fixes unreadable text (tofu boxes) in GTK dialogs on Ubuntu Snap builds. Fixes #4920 --- electron-builder.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/electron-builder.yaml b/electron-builder.yaml index ab72e428c..cfb70f849 100644 --- a/electron-builder.yaml +++ b/electron-builder.yaml @@ -67,6 +67,10 @@ snap: autoStart: true base: core22 confinement: strict + environment: + # Fix for issue #4920: Isolate fontconfig cache to prevent GTK dialog rendering issues + # https://github.com/super-productivity/super-productivity/issues/4920 + FC_CACHEDIR: $SNAP_USER_DATA/.cache/fontconfig plugs: - default - password-manager-service