desktop: Opening links in Zen AppImage causes 100% CPU usage
Captchas
- I have read the instructions.
- I have searched existing issues and avoided creating duplicates.
- I am not filing an enhancement request.
What happened?
When I set the default browser as Zen Browser, it sets this desktop file: userapp-Zen Browser-08XPW2.desktop, which has this content, and after every restart of the zen browsers, it creates different desktop files.
Here:
❯ fd zen
userapp-Zen Browser-08XPW2.desktop
userapp-Zen Browser-5XDIW2.desktop
userapp-Zen Browser-8SKIW2.desktop
userapp-Zen Browser-AKFWW2.desktop
userapp-Zen Browser-NLUTW2.desktop
userapp-Zen Browser-QV8UW2.desktop
userapp-Zen Browser-T9OPW2.desktop
zen-alpha.desktop
zen-browser-AM.desktop
I installed zen through AppMan.
I tried to manually set the default desktop file using this command: xdg-mime default zen-browser-AM.desktop x-scheme-handler/https, but when something opens through, it will have 100% CPU usage all the time.
Reproducible?
- I have checked that this issue cannot be reproduced on Mozilla Firefox.
Version
1.0.1-a.17
What platform are you seeing the problem on?
Linux
Relevant log output
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 44 (19 by maintainers)
Right, everything works fine now, it doesn’t consume one thread fully on newer versions.
@aljustiet Try again and let me know if you still have the issue. (The twilight releases).
The other issue about the multiple
userapp-Zen Browser-***.desktopwas fixed in https://github.com/zen-browser/desktop/pull/6086 Note however that if you use AM, Zen will still create one extra .desktop becauseMOZ_APP_LAUNCHERdoesn’t work with symlinks, which is what AM normally points to by default while Zen will make the .desktop point to the actual appimage that the symlink points to.There is no reason AppImages should be faster than native installs such as with DEB or RPM. Flatpak and Snaps are the only ones which add Overhead to the process. AppImage adds overhead to startup because it has to decompress the application.
We should fr remove appimage installer and add DEB RPM and AUR to the linux section