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

Freeze when no connection is available #11

Open
DomGiant opened this issue Nov 14, 2023 · 2 comments
Open

Freeze when no connection is available #11

DomGiant opened this issue Nov 14, 2023 · 2 comments

Comments

@DomGiant
Copy link

Hello,
I noticed the entire Gnome UI freezes for a couple of seconds when I lose internet connection. Subsequently, I see ";;; No connection" in the LAN/WAN sections.
Is it possible to avoid these freezes? I read this could be done by making the code asynchronous, but I tried to switch from GLib.spawn_command_line_sync to GLib.spawn_command_line_async and nothing changed.

@phavekes
Copy link
Owner

The extension should be rewritten to use async : https://gjs.guide/guides/gio/subprocesses.html#complete-examples
but I'm thinking to abandon this project, because it's to much wok to keep up with the changes in gnome-shell.

@DomGiant
Copy link
Author

Oh ok, I will try to implement it as soon as I have time.

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

No branches or pull requests

2 participants