Spawning a subprocess causes short UI freeze
Hi,
I hope this is the right repo to report this issue. Several GNOME/Cinnamon extension developers are using GLib.spawn_async_with_pipes()
or the async Gio.Subprocess()
(which internally also uses the former) for gathering information to show in their extensions. These calls cause a little UI freeze which get noticeable when starting 2 or more subprocesses at the same time. Does anyone have an idea what is causing this?
Example extensions using subprocesses:
- various GNOME extensions, e.g. Ping by prasanthc41m or PingIndic by Xynium
- various Cinnamon Desklets, e.g. Sensors Monitor by claudiux or Host Check by schorschii (one issue regarding freezes)
All of them are already using the async versions of the functions.
The freezes can be perfectly reproduced when opening glxgears
while having such extensions enabled.
Edited by Georg