ferdium / ferdium-app

All your services in one place, built by the community
https://ferdium.org
Apache License 2.0
2.96k stars 178 forks source link

[linux] UI flickering/missing #1499

Open laur89 opened 10 months ago

laur89 commented 10 months ago

Avoid duplicates

Ferdium Version

6.6.0

What Operating System are you using?

Other Linux

Operating System Version

Debian testing

What arch are you using?

x64

Last Known Working Ferdium version

No response

Expected Behavior

UI consistently working.

Actual Behavior

Every now and then the UI is messed up - either parts of it are blank (as seen on screenshot) or flickering in and out of existence. Have seen this problem on other electron applications, e.g. Slack. With Slack there's a way out: Help -> Troubleshooting -> Clear Cache and Restart. Does similar mechanic exist for Ferdium; if not, could it be added?

Steps to reproduce

No idea how to consistently reproduce this. This time it got sorted with upgrade to 6.7.0. Note upgrade to 6.6.0 on the other hand did not resolve it.

Debug link

No response

Screenshots

image

Additional information

No response

Cknight70 commented 10 months ago

Hello, are you running wayland? You can check by typing echo $XDG_SESSION_TYPE into your terminal

If this is the case, you can run ferdium natively with wayland which would work better. You can do this by adding these options to the end of your command to launch Ferdium. You can do this in your terminal, or add it to the end of your .desktop launch file startup command, or add it globally for your electron launch options in ~/.config/electron-flags.conf

--enable-features=WaylandWindowDecorations --ozone-platform-hint=auto

You can also clear your cache by right clicking the service icon (the whats app icon on the far left) and selecting clear cache.

laur89 commented 10 months ago

Nope, I'm still on x11, running i3 window manager.

aquada commented 10 months ago

I also have this issue (NixOS unstable Xorg) and resolved by installing flatpak version (6.6.0) and now working. I have resolved this in the past with other Electon apps (Joplin) by rm -R ~/.config//GPUCache, but this did not work for Ferdium

laur89 commented 10 months ago

Ditto, tried nuking cache-sounding directories willy-nilly as a last resort (including GPUCache), but nothing did the trick.