On Jan 6, 2008 10:14 PM, Christiaan Hofman <[EMAIL PROTECTED]> wrote:
>
> On 6 Jan 2008, at 10:04 PM, Adam R. Maxwell wrote:
>
> >
> > On Jan 6, 2008, at 12:41 PM, Christiaan Hofman wrote:
> >
> >> Sorry, I have to come back to that. I just got an assertion failure
> >> in the test program:
> >>
> >> 2008-01-06 21:37:44.165 FileView Program[13435] *** Assertion
> >> failure in -[FVWebViewIcon renderOffscreen], /Users/hofman/
> >> Development/Bibdesk/trunk/bibdesk/vendorsrc/amaxwell/FileView/
> >> FVWebViewIcon.m:435
> >> 2008-01-06 21:37:44.179 FileView Program[13435] An uncaught
> >> exception was raised
> >> 2008-01-06 21:37:44.189 FileView Program[13435] Invalid parameter
> >> not satisfying: NULL == _fullImageRef
> >> 2008-01-06 21:37:44.198 FileView Program[13435] *** Uncaught
> >> exception: <NSInternalInconsistencyException> Invalid parameter not
> >> satisfying: NULL == _fullImageRef
> >
> > I can't reproduce that, even if I disable a core. What URL does it
> > happen with? One that works or fails? It's not a critical assertion,
> > but needsRenderForSize: shouldn't return YES if the full image was
> > non-
> > NULL. Obviously I'm missing something....
>
> I only got it once, no idea with which URL. Apparently it is
> possible. I also don't see from the logic of needsRenderForSize: why
> this could not happen. E.g., couldn't it be that the size is small
> but there is a _fullImageRef?
>
> Christiaan
>
OK, I see that cannot happen, as _thumbnailRef == NULL inplies _fullImageRef
== NULL. So it means that the _webViewFailed must be true while there is a
_fullImageRef. Perhaps this could happen when the provisional load failes
while the webview still finished loading? Or perhaps the _webViewFailed is
set too early for a PDF?
Christiaan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop