-
-
Notifications
You must be signed in to change notification settings - Fork 179
When disabling GPU acceleration access in flatpak, sometimes the UI doesn't open up when launched, but when launching a second time it works #5024
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
Comments
I found out this is tied to this option: When GPU acceleration access is disabled, DeltaChat needs to attempts to open for whatever reason. if it's enabled, then it opens instantly. Since GPU acceleration is a somewhat dangerous attack surface and arguably not needed for a messenger, it would be nice if this quirk could eventually be fixed. |
Can confirm this is apparently the same bug as #5020 and apparently both tied to this option. It seems like that when 3d acceleration isn't available in flatpak, DeltaChat randomly fails to open some windows, but only sometimes, and sometimes only on first try but the second try works. For "Show full message", it never works even with multiple tries, for some reason. |
Well this is a bit outside of the scope for the delta chat desktop team. I'm happy to merge a fix if it has no side-effects for normal users, but for the core maintainers this is out of scope, since the issue is likely in flatpak, gnome, wayland or electron. You can try if the tauri version works better.
you may want to have it for certain webxdc apps and those you anyway need to click explicitly on to run them and WebGL is not used with potentially untrusted user input in any other scenario AFAIK. - so very likely not really practical to exploit. |
I think testing the tauri flatpak might be interesting to figure out whether perhaps this is an electron bug. I'm happy to bring up the issue with an upstream project, I guess it's not that super likely to be a mistake in the delta chat code base. Given how leaky browsers can be though, due to their complexity, I think removing the 3d acceleration permission from a web app like Delta Chat isn't that absurd to at least have as a working option. |
Sometimes the UI doesn't open up when launched. Here's the terminal output of that happening:
After this the command continues. And if I press the DeltaChat icon again a second time, now the UI comes up without any problems whatsoever.
The text was updated successfully, but these errors were encountered: