• 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
Migrating screensaver to 10.6 (Snow Leopard) produces erratic behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Migrating screensaver to 10.6 (Snow Leopard) produces erratic behavior


  • Subject: Migrating screensaver to 10.6 (Snow Leopard) produces erratic behavior
  • From: Gabriel Zachmann <email@hidden>
  • Date: Wed, 7 Oct 2009 12:29:12 +0200

I am trying to migrate my screenaver to Snow Leopard.
Everything is working fine under 10.5, of course.

So I just moved the project over to a machine with 10.6, and made the following settings in the project settings:
Architectures = Standard (32/64 bit Universal)
Base SDK = Current Mac OS
Mac OS X Deployment Target = Compiler Default
Objective-C Garbage Collection = Supported


All other settings are fairly standard, I think.

The problem now is that I get completely erratic behavior of my screensaver.

Basically, it just displays an image and some text on two layers using Core Animation, and the image and the text are exchanged after a few seconds.

In SaverLab, it works fine (provided I set the Active Architecture to i386).

In System Preferences, everything is erratic.
Sometimes, I get just a grey window in the preview window, sometimes it's just black.
Sometimes, I can see the first image (it's also animated as expected), but it never gets replaced by a new image, although the screensaver does exchange the layer's content.
When I click on 'Test', I just get a white screen!
When I open the configuration sheet and change an option, the font size, for instance, I should see the change immediately, but I don't (the code does get executed, and I do setNeedsDisplay of the layer).
But sometimes, the code that handles the change of the font size option seems to get executed although I have changed a different option.


Even more confusing is that, according to the log messages I have inserted in the code, my screensaver seems to work normal.
I can see the log message via 'syslog -w -k Sender MyScreenSaver', and everything seems OK: it exchanges the images after a few seconds; when I click on 'Test' in SysPrefs, a new instance gets initialized, etc.


I am a bit desperate, becaue I have no idea where to look and what to try.

Would it help if I put the whole project on a web site for download?

Regards,
Gabriel.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Prev by Date: Re: I think there's a problem in the documentation for NSComboBox
  • Next by Date: Re: I think there's a problem in the documentation for NSComboBox
  • Previous by thread: Re: I think there's a problem in the documentation for NSComboBox
  • Next by thread: stringWithCString:length deprecation
  • Index(es):
    • Date
    • Thread