• 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
WebView problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: [OT] 2GB file limit
  • Next by Date: remove me
  • Previous by thread: Adding to NSTextView's current undo group?
  • Next by thread: remove me
  • Index(es):
    • Date
    • Thread