Re: Crash with NSPrintOperation ?!
Re: Crash with NSPrintOperation ?!
- Subject: Re: Crash with NSPrintOperation ?!
- From: Guillaume Rager <email@hidden>
- Date: Thu, 29 Jul 2004 14:37:21 +0200
- Organization: GumiTech
On Wed, 28 Jul 2004 16:50:49 +0200, Steven Kramer wrote:
>
I've experienced the same but now have a setup that works. I think I
>
worked around a WebView bug and there definitely was a bug of my own
>
involved too ;-) Can you post some code?
Of course,
NSPrintOperation *printOperation = [NSPrintOperation printOperationWithView:[[[cachedWebView mainFrame] frameView] documentView]];
[printOperation setShowPanels:NO];
[[localPrintInfo dictionary] setObject:pathString forKey:@"NSSavePath"];
[localPrintInfo setJobDisposition:NSPrintSaveJob];
[printOperation runOperation];
The cachedWebView object is a standard WebView, but this webview is not into a window, it is just used for the page setup.
Thank you,
>
>
Op 28-jul-04 om 9:48 heeft Guillaume Rager het volgende geschreven:
>
>
> On Wed, 28 Jul 2004 09:10:40 +0200, Ruben Smits wrote:
>
>> I've seen a crash that looks the same in my app. I am using the
>
>> Carbon Printing functions, that make use of the same Carbon Printing
>
>> Manager as the NSPrintOperation.
>
>>
>
>> In my situation I see the crash when I'm debugging and stop at a
>
>> breakpoint, somewhere in my printloop. I found out this only crashes
>
>> in the develop setting. When I switch off the zerolink option, it
>
>> does not crash.
>
>>
>
>> So does your application also crash in a final build?
>
>
>
> Yes, and it crashes a lot !!! If i replace webview with another view
>
> there is no problem, so i guess there is a problem with the webview
>
> or how i use them (but if there is a problem after alloc, init,
>
> loadURL thats quite weird...). Well i'm still looking for a
>
> solution...
>
>
>
> 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.
>
>
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.