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

Font not available? #5

Closed
jkopka opened this issue Nov 26, 2020 · 12 comments
Closed

Font not available? #5

jkopka opened this issue Nov 26, 2020 · 12 comments

Comments

@jkopka
Copy link

jkopka commented Nov 26, 2020

I've just installed sleek over snap, als mentioned in the description. The dialog for choosing an existing or creating a new todo.txt looks like this: Error Pic

System: Manjaro

@jkopka
Copy link
Author

jkopka commented Nov 26, 2020

I've just removed the snap installation and tried the AppImage. Now it looks fine and the Text is correctly displayed.

@jkopka
Copy link
Author

jkopka commented Nov 26, 2020

I just saw this problem with another electron app. So i presume that it is not a problem with sleek. This can be closed.

@jkopka jkopka closed this as completed Nov 26, 2020
@ransome1
Copy link
Owner

Thanks for the hint anyway! It was actually the second bug report on that topic and it only seems to occur on Arch linux based distros.

I am working on Arch myself and I will try to reproduce it and hopefully fix it.

ransome1 pushed a commit that referenced this issue Nov 27, 2020
@ransome1
Copy link
Owner

ransome1 commented Nov 27, 2020

@jkopka Quick question. I was able to reproduce it. It occured on my Arch Linux machine when I started sleek with sudo. You didn't do that I guess?

Also please install the app again from the edge channel snap install --edge sleek. I updated (actually I am still working on it) the build process and was able to generate a snap that runs without any font problems with or without sudo. Maybe this edge release works on your Manjaro too.

I will push it to release some time soon so you get the update sooner or later anyway.

@jkopka
Copy link
Author

jkopka commented Nov 27, 2020

The font problem is still there in the snap version. The AppImage version is fine.
I got two messages, when i start sleek over the terminal:

(node:3874) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
Gtk-Message: 20:56:26.574: GtkDialog mapped without a transient parent. This is discouraged.

@ransome1
Copy link
Owner

Quite some people solved your problem with this solution: https://forum.snapcraft.io/t/snap-store-fonts-on-arch-linux-are-merely-empty-rectangles/15373/6

You can of course stick to the AppImage but the Snap will be more convenient. I will try to fix the warnings you posted in the next Snap release in any case.

@ransome1
Copy link
Owner

ransome1 commented Nov 28, 2020

@jkopka don't want to bother you but could you please check the latest Snap release (revision 92) using snap install sleek? On my Arch Linux it works but I am really curious about your Manjaro.

@jkopka
Copy link
Author

jkopka commented Nov 28, 2020

Same same. Install Pic

@ransome1
Copy link
Owner

ransome1 commented Nov 28, 2020

@jkopka : You seem to be a couple of versions behind. Please update using snap refresh. The new version should be 0.2.3

And just to make sure, please do the mentioned solution from Snapcraft forum:

sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*

@jkopka
Copy link
Author

jkopka commented Nov 28, 2020

I am just getting version 0.2.1, even with snap refresh.

@ransome1
Copy link
Owner

Sorry, you're right, I forgot to increase the version number on Snap Store. So you're most likely already on the latest version and it's still a problem :( I will keep digging, as my heart beats for Arch Linux ;)

@ransome1
Copy link
Owner

Hi @jkopka , I set up a fresh Manjaro and installed 0.4.1 (Revision 110) of the app and I don't have any encoding problems anymore. I hope it is solved for you too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants