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
This commit is contained in:
Johannes Millan 2026-01-11 11:44:44 +01:00
parent b2be64ef7b
commit 3d33d94a6c

View file

@ -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