linux-man / gnome-shell-extension-printers

Gnome extension - Manage Jobs and Printers
GNU General Public License v3.0
15 stars 13 forks source link

lpstat output is read synchronously #21

Closed juhaerk closed 6 months ago

juhaerk commented 3 years ago

This extension appears to read the output from "lpstat" (opened through spawn_async()) synchronously. In case cupsd and thus lpstat is slow to respond, this causes Gnome UI hangs.

This can be reproduced for example by replacing /usr/bin/lpstat with a shell script that only does "sleep 30". Gnome will then hang for 30 seconds each time the extension is reading printer information.

linux-man commented 2 years ago

@juhaerk Please check again. Big changes on latest version.

linux-man commented 6 months ago

Closed due to inactivity.