• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash with NSPrintOperation ?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Crash with NSPrintOperation ?! (From: Ruben Smits <email@hidden>)
 >Re: Crash with NSPrintOperation ?! (From: Guillaume Rager <email@hidden>)
 >Re: Crash with NSPrintOperation ?! (From: Steven Kramer <email@hidden>)
 >Re: Crash with NSPrintOperation ?! (From: Guillaume Rager <email@hidden>)
 >Re: Crash with NSPrintOperation ?! (From: Steven Kramer <email@hidden>)
 >Re: Crash with NSPrintOperation ?! (From: Guillaume Rager <email@hidden>)

  • Prev by Date: Re: [OT] was: Where is NSList? (All Threads)
  • Next by Date: Re: [OT] was: Where is NSList? (All Threads)
  • Previous by thread: Re: Crash with NSPrintOperation ?!
  • Next by thread: Overlaying views to optimise drawing
  • Index(es):
    • Date
    • Thread