qishibo / AnotherRedisDesktopManager

🚀🚀🚀A faster, better and more stable Redis desktop manager [GUI client], compatible with Linux, Windows, Mac.
MIT License
30.9k stars 2.59k forks source link

Unable to read file selector navigation for ssh key #1271

Open IronSinew opened 1 month ago

IronSinew commented 1 month ago

OS

Linux (Ubuntu 24.04 - installed via Snap)

VERSION

1.6.8

ISSUE DESCRIPTION

When I press the private key selector, the fonts don't seem to be rendering in the file navigator image

image

image

qishibo commented 1 month ago

have you tried sudo snap connect another-redis-desktop-manager:ssh-keys?

qishibo commented 1 month ago

or try to refresh your fonts list by

cd /usr/share/fonts/
sudo fc-cache -fv
sudo reboot
IronSinew commented 1 month ago

have you tried sudo snap connect another-redis-desktop-manager:ssh-keys?

or try to refresh your fonts list by

cd /usr/share/fonts/
sudo fc-cache -fv
sudo reboot

I tried both, and the issue still persists. This is the only application where the file manager does this.

qishibo commented 1 month ago

OK I'll try to reproduce it and fix what's more can you ty the AppImage package? I want to know if this error staill exists in AppImage

qishibo commented 1 month ago

I've tried in Ubuntu 18(may be to old), it works well, so there may be some compatible issue in higher version ubuntu, still trying

IronSinew commented 1 month ago

OK I'll try to reproduce it and fix what's more can you ty the AppImage package? I want to know if this error staill exists in AppImage

I tried AppImage v1.6.8 and it does not have the same issue.

IronSinew commented 3 weeks ago

Any luck?

qishibo commented 3 weeks ago

try this latest snap version by sudo snap install xxx.snap --dangerous --classic to install 1.7.0

https://cowtransfer.com/s/cd6fcd4c513944 code=tu53tp

IronSinew commented 3 weeks ago

I installed 1.7 via snap and the issue persists, sadly.

qishibo commented 3 weeks ago

I've tried to reproduct this issue but failed… now I've no idea to solve that

qishibo commented 3 weeks ago

You can use the AppImage instead for temporary

IronSinew commented 3 weeks ago

image

image

It may be applicable that in the settings, it never seems to finish "loading" the font options to select?

qishibo commented 3 weeks ago

fonts list are got by exec fc-list command, you can exec in cli to test if this works well. The snap package runs in sandbox by default ,this may cause some unknow env issues

IronSinew commented 3 weeks ago
$ fc-list

/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf: DejaVu Serif:style=Bold
/usr/share/fonts/truetype/noto/NotoSansThai-Regular.ttf: Noto Sans Thai:style=Regular
...

In the terminal, it does seem to return a list of the fonts. If it can't load any fonts, would it produce the error I'm experiencing with the file navigator? 🤔

qishibo commented 3 weeks ago

I'll add the error tips if cannot load fonts. Actually I highly recommand you using the AppImage package instead of snap, because the snap package runs in a sandbox env where there would be many restrictions