usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
21.78k stars 1.02k forks source link

File explorer shows empty brackets (v1.2.0) #1020

Open jericirenej opened 7 months ago

jericirenej commented 7 months ago

When creating or opening a collection, the file browser just shows empty brackets for all files and/or folders. Probably a locale issue?

bruno_issue

kalizi commented 7 months ago

Same thing happened to me. I'll try giving more details about my situation.

Schermata del 2023-11-22 21-07-17

Version used: 1.2.0 Currently using: Fedora 38 (Gnome Shell 44.6) Installed via snap Schermata del 2023-11-22 21-08-33

I also tried replicating the error by manually running the dev version with node 18 and got no problems.

kalizi commented 7 months ago

It seems to be related to fontconfig's bug (https://forum.snapcraft.io/t/snapped-app-not-loading-fonts-on-fedora-and-arch/12484/18).

There's a simple workaround (https://forum.snapcraft.io/t/snapped-app-not-loading-fonts-on-fedora-and-arch/12484/60), it worked for me

sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
fc-cache -r
jericirenej commented 7 months ago

I think that just running fc-cache -r is enough, as it rewrites the existing configs. For me, running this command resulted in fonts showing correctly.

Its-treason commented 7 months ago

This seems to be an issue with snap or electron itself: https://github.com/electron/electron/issues/9616. We could try to update electron, this seems to fix the issue for some users. We are on Electron 21 and newest version is 27.

subseo commented 2 months ago

I had the same issue but fixed it now. Just for the next one who comes to this point: With Manjaro / Arch based Linux the "fc-cache -r" doent work. It is a standart problem of snaps and occurs often. I.e. at postman (https://forum.manjaro.org/t/postman-showing-empty-boxes-when-browsing-file-manager/121823/9)

I just switched to flatpak and its fixed.