WebView problem
WebView problem
- Subject: WebView problem
- From: "Josh Ferguson" <email@hidden>
- Date: Sun, 3 Apr 2005 14:06:21 -0500
- Thread-topic: WebView problem
Sorry for the cross-post, but I think this problem may not
be exclusive to webkit. In my application, I’m trying to load a WebView
in the background and grab a screenshot of it. To do this, I create a webview,
load it into an off-screen window, lock focus on it, call drawRect, then create
an NSBitmapImageRep from it. This works great for 99% of pages, however
occasionally I’ll hit a page where it overloads the stack and crashes my
app (the stack has 10,000+ calls on it). This takes place somewhere in the
khtml renderer under WebKit, and I’m pretty sure it has to do with WebKit
trying to display an animated GIF offscreen. Has anyone ever encountered an
issue like this with WebView or any other NSView doing off-screen drawing?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden