oneDrive
oneDrive copied to clipboard
System freezes when clicking on "Show service status"
Thank you for creating this extension. As far as I observe, most of the features works as expected, except for "show service status". Every time I click this menu item, the whole system freezes immediately. At this stage, I can do nothing except a long press on power button to perform a force shutdown.
My distro is Arch Linux, installed this extension from extensions.gnome.org, using gnome on Wayland.
Same issue using Wayland in PopOS. Using Xorg it seems to work properly without this problem.
I also have installed it from extensions.gnome.org.
Using Xorg it seems to work properly without this problem.
Oh yes, I'm using Wayland too. Thank you for reminding of this point :)
Does exists a workaround for this problem?
I've found another extension facing the same issue.
In this extension ( oneDrive) the function GLib.spawn_command_line_sync is being called on other places of the extension without issues, but with other commands. So it appears to be an issue calling specifically gnome-terminal.
I got an explanation why the system is freezing, because it's a sync call. Just call GLib.spawn_command_line_async (notice the 'a' almost in the end) and the system won't freeze anymore. The invocation of gnome-terminal won't work though.
Does exists a workaround for this problem?
I‘m now using Console instead of Terminal. Clicking "Show service status" doesn't freeze the system now, instead it doesn't do anything :p
To view the service status, use systemctl --user status onedrive