element-desktop is Electron-based and creates multi-MB files named .org.chromium.Chromium.xxxxxx in /tmp. This alone wouldn't matter, but these files remain after the app has terminated, so starting/quitting the app several times quickly wastes a huge amount of space.
Steps to Reproduce:
1. start/quit element-desktop
2. find many duplicated .org.chromium.Chromium.xxxxxx leftovers in /tmp
Garbage leftovers in /tmp.
As can be seen from the upstream report this was closed due to a lack of reproducibility, despite the fact that it can be readily reproduced with
current versions. I'll attach the mentioned wrapper script that I wrote when I still had my own element-desktop ebuild in my overlay; it would be great if this wrapper could be added to the Gentoo ebuild.
Created attachment 657878 [details]
Wrapper script to create/delete a temp dir
This wrapper script creates a temporary directory for element-desktop and deletes it after the actual element application has terminated. I'm sure it's not perfect (maybe needs proper signal handling) but it's a start and works for me and a friend. Right now I have this in /opt/bin, but it could also replace the symlinks
Hi Holger. Thanks for the report. Have you reported it to the upstream as well? Because I feel it might be not Gentoo-specific issue.
(In reply to Stefan Strogin from comment #2)
> Hi Holger. Thanks for the report. Have you reported it to the upstream as
> well? Because I feel it might be not Gentoo-specific issue.
Check the last comment on the linked URL? :)
I haven't reported it to Element though since it's clearly an Electron issue.