Re: Crash with NSPrintOperation ?!
Re: Crash with NSPrintOperation ?!
- Subject: Re: Crash with NSPrintOperation ?!
- From: Steven Kramer <email@hidden>
- Date: Fri, 30 Jul 2004 16:58:33 +0200
I will send you the code in private email, because it's... long and
ugly, really.
Op 30-jul-04 om 15:03 heeft Guillaume Rager het volgende geschreven:
On Fri, 30 Jul 2004 13:52:26 +0200, Steven Kramer wrote:
Yes i launch NSPrintOperation after the page is loaded (observe the
WebProgressFinishedNotification notification)
As a side note, one reason to do this is that I can't run the print
operation with the document view straight away, because it will be
replaced by a new documentview after the new page loads... I have
suspicions that this causes the problem, because you will either have
a lone documentview (retained by the print job, released by the
webview) or there is a threading issue (I think the documentView
lives mostly in another thread).
This is exactly what i think after spending some hours on this
problem. But the main problem, is that printing a webview is a black
box because subviews of webview are used and we don't know what
happened... :(
You said, that you 've found a solution, or a good way to use that
without crashing ? So if you've tips...
Thank you for your answer.
Regards,
Guillaume
-----
GUMITECH - R&D Unit - Niort (France)
http://www.gumitech.com
"Chaud cocoa, chaud chocolat !!!"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.