Some minor issues with flatpak apps after reboot

So I am experiencing this issue for a while now… but just realised that it’s happening with multiple flatpak applications than just Zen Browser which is loudest to show this issue…

So basically what’s happening is when I restart or just normal startup the system after shutdown, then after logging in and everything, the flatpak apps don’t seem to fetch the fonts or there’s some sort of problem in config I’m not understanding the actual issue…

Zen Browser shows this issue the best, as when I launch it, the fonts in Zen Browser are generic fonts like in Firefox, even though I have set custom font in zen settings…
plus the zen browser draws it’s own window decorations, so the minimize, maximize and close buttons are drawn by zen…
When this font issue happens, the minimize and maximize buttons are just not there at all…

So as usual, I thought this must be a Zen Browser issue, apparently not, I’ve made an issue on the GitHub repo,they couldn’t find the cause or recreate it…

And just as luck, I noticed another flatpak app (specifically MCPE Launcher) doing the same generic font thing… then I thought this must be bigger issue than just Zen Browser.

One key detail about this situation is, if I log out and in again, everything works as it should, all the fonts are fine, the buttons render okay and everything…
And this happen everytime with clean startup…

I know nothing about the compilation of the files necessary - but your issue is not the first I read about.

The flatpak format is intended to be self-contained.

Truth is - they are not necessarily 100% self-contained.

The author of the flatpak may have decided to exclude some parts; parts the author may expect to be available on all target systems.

In your case it is a font(-family), other cases has been theming.

The question in this case - which font is expected? And I have no idea.

Did you try flatpak -v run or even flatpak -vv run and inspect the output?

1 Like

That doesn’t explain why it works after relogging…
I don’t really understand the technical stuff yet, but I do pay to technical stuff on everything, which lets me guess roughly what might have happened…

This issue to me seems like something related to (what I’d call) the ‘flatpak system’, on fresh log in something seems to not fetch a file or whatever dependency there might be… which is causing silent error and the flatpak relies on generic system stuff than it’s own config.

More like a temporary permission issue..
Because when this happens, the zen browser is using system’s global theme color…
Maybe KDE Plasma is injecting something forcefully…

And you may have noticed that the Zen browser’s minimize and maximize buttons don’t render
today I noticed same happening with Warehouse’s buttons…
Which makes me think the Plasma theme is somehow kinda interrupting the flatppak app’s own process to render its own elements by itself.

But I do not understand why relogging fixes it…

No what does that do actually…?


I might be wrong, but I really think I noticed that the same thing happens with other user accounts… I used user2 with hyprland and I am pretty sure it happened there as well..
Also happened with clean new user with Plasma…

I may have to test it.

I set the custom font to ‘Galada’ which is a derivative of ‘Lobster’ font but with Indian native language characters, I use that just in case anyone messages me in Hindi language, but mostly I like the Lobster font because it’s closest font to my actual IRL handwriting.

I got that from google fonts and it is installed at user level not at system level…

But it is not the problem, the buttons are the problem, I now use keyboard shortcuts to do that stuff…

And yes, having multiple DEs installed is not the problem here, as I have hyprland installed many months ago, and I never booted into it even once until recently, and this issue started to happen before I ever booted into hyprland, that too was with different user…


Just to be sure, I’ll see what happens with fresh install when I get my hands on the framework laptop…