@Till
As mentioned the gnome printing dialog also hangs if the name of one of the 
printer's hosts is unresolvable. In any case it shouldn't hang even if 
localhost doesn't come up for some reason - in that case it should present some 
sane warning message to help users locate the problem at the very least, rather 
than presenting a blank window for > 1 minute.

By all means if a printer is uncontactable for whatever reason
(including faulty name resolution), the printer should show in the
dialog as uncontactable; but it shouldn't make the dialog unusable.

Steps to reproduce:
1) Define a hostname statically in /etc/hosts
2) Define a printer on that hostname
3) Remove the hostname from /etc/hosts

On my system the empty print dialog window appears (contents undrawn) for 
approx 70 seconds, before being drawn. During this time the code does several 
calls to
SYS_write(20, "RESOLVE-HOSTNAME-IPV4 the.unresolvable.hostname"..., 33)         
   = 33
SYS_read(20, 
occur and timeout after 5-10 secs.
Once the print dialog has appeared, selecting an unresolvable printer will 
cause the dialog to hang up again for another 70 seconds.

-- 
print dialog hangs when connected to wireless network
https://bugs.launchpad.net/bugs/223776
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to