Re: [NSImage] Bug in System Preferences? [solved]
Re: [NSImage] Bug in System Preferences? [solved]
- Subject: Re: [NSImage] Bug in System Preferences? [solved]
- From: Iceberg-Dev <email@hidden>
- Date: Sat, 23 Oct 2010 01:07:45 +0200
On Oct 22, 2010, at 12:48 AM, Iceberg-Dev wrote:
I'm currently playing with a screen saver.
Problem:
--------
It draws correctly in fullscreen mode or in SaverLab but does not
in the preview mode of the 'Desktop & Screen Saver' pane of the
System Preferences.
Basically, in #fail mode, it draws the first frame and then does
not refresh.
It works on Mac OS X 10.4 but does not on Mac OS X 10.5 and 10.6.
[...]
QUESTION:
---------
What can be done to address this behavioral incoherence in System
Preferences?
I solved the issue on Mac OS X 10.6 by calling
lockFocusOnRepresentation: and unlockFocus before and after I refresh
the bitmap buffer.
Funnily enough, this bug also exists with the CoreGraphics API.
CopyBits, I miss you.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden