I have a problem with the Insomnia snap since a year. Developer solution is to don’t use the snap package. I just want to report it here too, maybe it affects other similar electron apps, although I haven’t encountered anything similar.
Steps to reproduce:
Install insomnia
Open insomnia
Close insomnia
Relaunch (nothing will happen) - strace file
Workaround:
Delete snaps/insomnia folder and relaunch