Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Fonts are missing in VSCodium dialogs on Fedora #6

Closed
abitrolly opened this issue Nov 9, 2020 · 11 comments
Closed

Fonts are missing in VSCodium dialogs on Fedora #6

abitrolly opened this issue Nov 9, 2020 · 11 comments

Comments

@abitrolly
Copy link
Contributor

abitrolly commented Nov 9, 2020

This is what is shown on Fedora 33.

image

The solution is to use extensions and newer base.

https://snapcraft.io/blog/the-expandables-snapcraft-extensions-and-the-secret-code

@bkis
Copy link

bkis commented Nov 26, 2020

Can confirm. I have the same issue (Pop!_OS 20.10, VSCodium 1.51.1 via snap):

image

@bkis
Copy link

bkis commented Dec 3, 2020

@abitrolly I see you've already been active here and said that this didn't fix the problem for you - but it did for me (at least for now), so in case anybody wants to give this a try:

rm -rf ~/.cache/fontconfig 
rm -rf ~/snap/codium/common/.cache
fc-cache -r

(taken from here)

@abitrolly
Copy link
Contributor Author

@bkis it might help, but the proper solution in on the snap level.

@bkis
Copy link

bkis commented Dec 3, 2020

@abitrolly It's only a workaround, yes. But having the complete contents of the "Open Folder" dialog changed to □□□ □□□□□ □□ etc. (incl. my directories and files names) really raised the need for a quick solution ;)

@abitrolly abitrolly changed the title Use extensions and newer base Fonts are missing in VSCodium dialogs Feb 4, 2021
@abitrolly
Copy link
Contributor Author

No workaround in https://forum.snapcraft.io/t/snapped-app-not-loading-fonts-on-fedora-and-arch/12484/102 helped.

rm -rf ~/.cache/fontconfig 
rm -rf ~/snap/codium/common/.cache
fc-cache -r

Doesn't work for my F33.

@jdohm
Copy link

jdohm commented Feb 16, 2021

neither does it work for me on ubuntu 20.10 VSCodium version 1.53.2

@aw73
Copy link

aw73 commented Apr 28, 2021

I'm in the same case of @abitrolly on Ubuntu 20.04.2 LTS and VS Codium 1.55.2.

At this time I have no solution. I clean fontconfig cache and remove and install again VS Codium. I also tried to change Ubuntu dialog box default change with default one (Ubuntu) but the VS Codium dialog boxes displaid only squares...

@bkis
Copy link

bkis commented May 21, 2021

Maybe this helps some of the people still (or again) looking for a fix:
After a system update I had this same issue all over again. I closed Codium and cleared the cache (see code in the comments above), ran Codium again - no success. After a few tries I kept Codium running and cleared the cache again, voilà! I have no idea why it worked and whether it was just a coincidence, but keeping the app open while clearing the cache seems to be worth a try.

@abitrolly
Copy link
Contributor Author

This package is just too outdated. At the very least it could use a newer base and https://snapcraft.io/docs/gnome-3-28-extension

https://github.com/snapcrafters/codium/blob/master/snap/snapcraft.yaml

@lguenth
Copy link

lguenth commented Oct 26, 2021

Maybe this helps some of the people still (or again) looking for a fix: After a system update I had this same issue all over again. I closed Codium and cleared the cache (see code in the comments above), ran Codium again - no success. After a few tries I kept Codium running and cleared the cache again, voilà! I have no idea why it worked and whether it was just a coincidence, but keeping the app open while clearing the cache seems to be worth a try.

This is the only thing that helped. New install here on Ubuntu 20.04 LTS, never used Codium, installed via snap and tried to open a help dialog for the keyboard shortcuts, bug above came up. I cleared the cache while having it open and when I tried opening the same dialog again, it worked but I had to wait a few seconds before the window appeared.

Thanks anyway for giving this advice.

@abitrolly
Copy link
Contributor Author

1.67.1 on Fedora 36. The problem is finally fixed for me. So I am closing this as it was originally reported for Fedora.

image

@abitrolly abitrolly changed the title Fonts are missing in VSCodium dialogs Fonts are missing in VSCodium dialogs on Fedora May 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants