One of the users of my screensaver has reported a problem and sent in the system.log.
In it, I find this line:
System Preferences[324]: *** Assertion failure in -[ArtSaverView lockFocus],
/SourceCache/AppKit/AppKit-949.54/AppKit.subproj/NSView.m:4755
It appears after the following steps that I do in my screensaver:
1. stopAnimation, so that -animateOneFrame does not get called
2. do something that takes a bit longer, and that changes some internal data
3. startAnimation.
I have read the documentation about NSView::lockFocus, but I am no wiser.
Does anyone have an idea, what might be causing this error message?
Do I miss something?
At the bottom, you can find the relevant code from stop-/startAnimation methods.
Any insights and suggestions will be highly appreciated.
Best regards,
Gabriel.
PS:
- (void) stopAnimation
{
asl_log( ...);
[someInfo writeToFile: path atomically: YES];
[super stopAnimation];
}
- (void) startAnimation
{
asl_log( ...);
[super startAnimation];
}
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
