Discord is getting stuck on the loading screen with the spinning Discord logo upon loading. Eventually, it loads, though, but sometimes it takes over 20m. That said, the logs don't reflect any errors. I was able to fix it by applying some of the standard permissions used for some of my other Electron application ebuilds. Reproducible: Always
(In reply to Randall from comment #0) > Discord is getting stuck on the loading screen with the spinning Discord > logo upon loading. Eventually, it loads, though, but sometimes it takes over > 20m. That said, the logs don't reflect any errors. > > I was able to fix it by applying some of the standard permissions used for > some of my other Electron application ebuilds. > > Reproducible: Always You'll have to be more specific on what those fixes were?
> You'll have to be more specific on what those fixes were? Sorry, Sam, I figured the diff between them was enough. The main problem seemed rooted in `chrome-sandbox` not having the right permissions. Ref: https://github.com/electron/electron/issues/17972#issuecomment-487373313 However, I fixed some other minor things, like the icons were bugging out, and the .desktop file needed an update. Just general cleanup. Maybe it helps some of the other problems?
Oh, I hadn't seen the PR at the time -- now I get it :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a310b92544e1e20dfd9b66626fa796c4d522c788 commit a310b92544e1e20dfd9b66626fa796c4d522c788 Author: Randall T. Vasquez <ran.dall@icloud.com> AuthorDate: 2022-05-17 22:59:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-19 01:58:53 +0000 net-im/discord-bin: refactor the Discord ebuild This is a general refactor of the Discord ebuild. It cleans up several things and fixes permissions, mostly. It seems to improve performance greatly. Closes: https://bugs.gentoo.org/845219 Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com> Closes: https://github.com/gentoo/gentoo/pull/25542 Signed-off-by: Sam James <sam@gentoo.org> net-im/discord-bin/Manifest | 1 + net-im/discord-bin/discord-bin-0.0.17-r1.ebuild | 145 ++++++++++++++++++++++++ 2 files changed, 146 insertions(+)