GNOME Bugzilla – Bug 614581
Gtk print dialog freezes on start up
Last modified: 2010-05-24 14:56:07 UTC
Description of problem: When gtk print dialog is starting there is a 10~ seconds long delay sometimes. It shows up if cups listens to socket (line "Listen /var/run/cups/cups.sock" is in cupsd.conf). How reproducible: Almost always Steps to Reproduce: 0. have some printers configured in cups and "Listen /var/run/cups/cups.sock" line in cupsd.conf 1. run gtk-demo 2. run "Printing" demo Actual results: Print dialog freezes for several seconds. Expected results: Print dialog doesn't freeze. The problem here is that reading of PPD files collides with getting list of printers. It helps to give higher priority to getting of PPDs than to getting list of printers.
Created attachment 157696 [details] [review] honor PPD reading over listing of printers This patch fixes the problem.
Committed to gtk-2-22 and trunk: Honor PPD reading over listing of printers Reading of PPD files collides with getting list of printers. It helps to give higher priority to getting of PPDs than to getting list of printers (#614581). Marek