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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to