Skip to content
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

Complete freeze if no desktop notification deamon is running on Linux #674

Open
MazeChaZer opened this issue Oct 17, 2017 · 11 comments
Open
Labels

Comments

@MazeChaZer
Copy link

MazeChaZer commented Oct 17, 2017

After running in background for a little while, the Riot Desktop client completely freezes when I come back to it. This happens very often (once every 30m at least). Is there some way I can debug this myself? If I have the dev tools open, they freeze, too. Also sending the log file via the settings page.

  • OS: Arch Linux (up-to-date), i3
  • Version: Latest git master (bf56a00d60a44d7f2e9d2c7748aedb31c62ba9a8)

Edit: I installed riot-desktop-git from the AUR: https://aur.archlinux.org/packages/riot-desktop-git

@MazeChaZer
Copy link
Author

This only seems to happen after I received a message while the app was in the background.

@MazeChaZer
Copy link
Author

This is still happening all the time. Anybody here who can help me track down the issue?

@MazeChaZer
Copy link
Author

If I don't kill Riot but instead try to launch a new instance, the frozen instance disappears after a minute or so and a new instance comes up which is working. Still pretty annoying.

@MazeChaZer
Copy link
Author

I removed .config/Riot, still happening.

@MazeChaZer
Copy link
Author

I found out why this is happening! Riot froze because it was trying to dispatch a desktop notification, but in my setup with i3 there was no daemon to accept these. Disabling desktop notifications solved this problem for me 🎉
Another way to fix this issue is to run a notification daemon like dunst.
I will see if I can fix this bug if I have the time.

@MazeChaZer MazeChaZer changed the title Complete freeze after a while of inactivity Complete freeze if no desktop notification deamon is running on Linux Nov 29, 2017
@chmol
Copy link

chmol commented Dec 2, 2017

I confirm, disabling the notification seems to fix the issues on archlinux with the latest desktop build from AUR.

@AllanDaemon
Copy link

I confirm this too

@MazeChaZer
Copy link
Author

Related: element-hq/element-web#5704

@CryptKid
Copy link

Have this issue too, was able to track it down:
If you get a Message in the Background, riot tries to send a notification. If no notify-daemon is running, riot can't handle the error and dies
Workaround is either to install a notification daemon (like dunst) or to disable desktop-notifications in the riot-settings

@Half-Shot
Copy link
Member

Half-Shot commented Apr 3, 2020

Still a problem for me. Presumably this is electron/electron#21912

@Kellegram
Copy link

My Riot freezes whenever I get a message, freezes my whole pc for split second too. AND ALSO it freezes a little when the "is typing" thing appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants