Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Appears as Rectangles in Modal Windows (Snap Version, Ubuntu 24.04) #3980

Closed
Abrham-m opened this issue Feb 7, 2025 · 5 comments
Closed

Comments

@Abrham-m
Copy link

Abrham-m commented Feb 7, 2025

Problem

On Ubuntu 24.04, when I open a modal in Super Productivity (Snap version), the text appears as rectangles.

Steps to Reproduce

  1. Install Super Productivity via Snap (sudo snap install superproductivity).
  2. Open the app and trigger any modal (e.g., closing window confirmation).
  3. The text inside the modal is unreadable (only rectangles appear).

What I Tried

  • superproductivity --disable-gpu --no-sandbox
  • Installed fonts-noto-core and rebuilt font cache
  • Switched GTK theme using GTK_THEME=Adwaita
  • Ran glxinfo | grep "OpenGL renderer" (output: Mesa Intel(R) Xe Graphics (TGL GT2))

Environment

  • OS: Ubuntu 24.04
  • Super Productivity Version: (get it with snap list superproductivity)
  • GPU: Intel Xe Graphics
  • Display Server: (Check with echo $XDG_SESSION_TYPEwayland or x11?)

Expected Behavior

The text should be readable.

Actual Behavior

Text appears as rectangles in modal windows.

Image

@Abrham-m Abrham-m added the bug label Feb 7, 2025
Copy link

github-actions bot commented Feb 7, 2025

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

Copy link

github-actions bot commented Feb 7, 2025

Hello there Abrham-m! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

For more open ended discussions and/or specific questions, please visit the discussions page. 💖

@hkockerbeck
Copy link

I'm not sure how helpful this remark is, but I've seen similar problems with other apps distributed as Snaps in the past. The problem there was related to the sandboxing that Snaps use, which prevent the apps from accessing the needed fonts.

@helonicer
Copy link

"rm -rf ~/.cache/fontconfig && sudo fc-cache -r" - worked for me

@Abrham-m
Copy link
Author

Abrham-m commented Feb 8, 2025

Issue Resolved!

The problem was fixed by clearing and rebuilding the font cache. Here’s what worked for me:

rm -rf ~/.cache/fontconfig
sudo fc-cache -r

@Abrham-m Abrham-m closed this as completed Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants