PPD lookup and printer auto-detection does not work as background thread

Bug #128230 reported by Till Kamppeter
4
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: system-config-printer

In system-config-printer 0.7.70 on Gutsy it seems that the threading does not work.

If I click on the icon to add a new printer the first step of the add-printer wizard shows as blank window for several seconds. and does not allow entering the queue name. From the output on the console from which I have started system-config-printer I can see that in this time the PPD list and the list of available printers is polled from CUPS. I can only start entering the print queue name when this process has completed.

Expected behavior is that the PPD list and the printer auto-detection is done in a background process, so that I can enter the print queue name immediately and do not need to wait so long time when clicking "Forward" for the next step.

In addition, it makes a bad impression to the user to see a blank window.

Changed in system-config-printer:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Patrice Vetsel (vetsel-patrice) wrote :

Indeed

Revision history for this message
Patrice Vetsel (vetsel-patrice) wrote :

In fact i'd this bug at my home but i was not uptodate.
Now at work with latest hal-cups-utils, s-c-p pythin-cups this seems working right.

Can you verify ?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The problem occurs as described if I ssh into my Gutsy box from another machine and I start system-config-printer out of the ssh shell (on the desktop of the remote box).

If I am on the local desktop of the Gutsy box the behavior is different, but also broken:

The first page of the add-printer wizard is drawn correctly, but I cannot type anything into the field and the window does not redraw. The window gets usable again when the background process finishes.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have done a complete update of my Gutsy box again ("sudo apt-get update; sudo apt-get dist-upgrade") and after that the add-printer wizard works as designed. The PPDs and available printers are polled in the background while enterin queue name and description.

The bug was fixed by somethinf (library?).

Changed in system-config-printer:
status: Confirmed → Fix Released
Revision history for this message
Tim Waugh (twaugh) wrote :

pycups I expect?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.