oneDrive icon indicating copy to clipboard operation
oneDrive copied to clipboard

System freezes when clicking on "Show service status"

Open SamLukeYes opened this issue 4 years ago • 6 comments

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.

SamLukeYes avatar Mar 24 '21 15:03 SamLukeYes

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.

giacomoboldini avatar Mar 28 '21 08:03 giacomoboldini

Using Xorg it seems to work properly without this problem.

Oh yes, I'm using Wayland too. Thank you for reminding of this point :)

SamLukeYes avatar Mar 28 '21 08:03 SamLukeYes

Does exists a workaround for this problem?

giacomoboldini avatar Oct 08 '21 16:10 giacomoboldini

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.

Silvanoc avatar Mar 25 '22 13:03 Silvanoc

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.

Silvanoc avatar Mar 25 '22 15:03 Silvanoc

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

SamLukeYes avatar Mar 25 '22 15:03 SamLukeYes