Re: Print dialog hangs for several seconds before activating

I've run into this issue (and have been poking at it recently). The core problem appears to be that, although GTK+ is using CUPS and setting things like httpBlocking off, the CUPS "non-blocking" API isn't. See conversations with CUPS developers at [1,2,3].

It appears that the only sane way to interact with CUPS in a GUI application is to use separate threads. If folks do not object the change, I'll try my hand at them.



On Wed, 9 Jun 2010, Shawn Bakhtiar wrote:

For some reason the Print dialog hangs for several seconds before fully activating. During this
period I am unable to push any buttons and on my OS X 10.6.3, I get the little color wheel. After a
few seconds, The dialog pops bigger, with several added tabs show up at the top (printer info).

jhbuild info


Name: gtk-i386
Module Set: gtk-osx-universal
Type: autogen
Install-date: not installed
Version: 2.18.2
Tree-ID: 2.18.2-d41d8cd98f00b204e9800998ecf8427e
Required-by: meta-gtk-universal

Name: glib
Module Set: gtk-osx
Type: autogen
Install-date: 2010-03-22 16:31:17
Version: 2.22.2
Tree-ID: 2.22.2-d41d8cd98f00b204e9800998ecf8427e
Required-by: glibmm, gnome-mime-data, pango, enchant, shared-mime-info, libsoup, atk
After: meta-gtk-osx-bootstrap, gtk-doc
Before: loudmouth, gstreamer


According to google, there seems to be a bug everyone is working arround, I have as of yet to
implement correctly on my machine.

Has anyone run into this problem, and is there a fix I am not aware of?
Thanks in advance,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]