pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: printing with firefox3?



On Tue, Jan 20, 2009 at 11:51:50AM +0200, Yorick Hardy wrote:
> Bernd Ernesti wrote:
> >>Do you happen to have a core dump from one of the other machines (and 
> >>"thread apply all bt") ?
> >
> >See my mail with such a trace, where gtk is not build with cups.
> 
> Thanks, I did not see anything obvious in the trace yet.
> I don't see any sign of CUPS being used in there, nor do
> I see print anywhere in the trace. Did I miss something ?

No, but I just tried to run firefox3 with ktrace -i and despite using a
.gtkrc-2.0 with gtk-print-backends="lpr,file"  I see the following:

 10473      2 firefox-bin 1232453116.066348000 NAMI  "/usr/pkg/lib/libcups.so.2"

> Would you mind answering the following questions:
>  Is this core dump after File -> Print in firefox3 ?

Yes.

>  Do you see a print dialog at all ?

No.

>  Does File -> Print Preview work ?

Not, it core dumps too.

> >The page you mentioned above says that the default gtk-print-backends is 
> >"file,cups".
> >
> >Looks like something is not working correctly and the default is still 
> >"file,cups" if cups
> >is not enabled during build.
> 
> It seems that gtk ignores any backend it does not know. So if the cups 
> backend is not
> installed I guess gtk would just ignore it, so you should just get "file".

It should but see the above ktrace output.

Bernd



Home | Main Index | Thread Index | Old Index