Re: Print dialog hangs for several seconds before activating
- From: David A Benjamin <davidben MIT EDU>
- To: Shawn Bakhtiar <shashaness hotmail com>
- Cc: gtk-devel-list gnome org, gtk-osx-users lists sourceforge net
- Subject: Re: Print dialog hangs for several seconds before activating
- Date: Wed, 9 Jun 2010 20:20:08 -0400 (EDT)
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.
David
[1] http://www.cups.org/newsgroups.php?s3708+gcups.development+v3713+T0
[2] http://www.cups.org/newsgroups.php?s3708+gcups.development+v3714+T0
[3] http://www.cups.org/newsgroups.php?s3708+gcups.development+v3716+T0
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
URL: http://ftp.gnome.org/gtk+/2.16/gtk+-2.18.2.tar.bz2
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
URL: http://ftp.gnome.org/pub/GNOME/sources/glib/2.22/glib-2.22.2.tar.bz2
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.
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/475845
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/475845/comments/29
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/359975
http://serverfault.com/questions/104935/authinforequired-cups-overwrites
Has anyone run into this problem, and is there a fix I am not aware of?
Thanks in advance,
Shawn
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]