Screen Saver

RSS for tag

Animate screen savers and interact with the screen saver infrastructure using Screen Saver.

Screen Saver Documentation

Posts under Screen Saver tag

6 Posts
Sort by:
Post not yet marked as solved
7 Replies
458 Views
Starting in Monterey 12.1 (Intel), our custom 3rd party screen saver is occasionally failing to work properly when in the Preview mode (e.g. the small sample window inside the Desktop & Screen Saver system preferences window). If I turn on detailed logging, I see the following calls being made: ScreenSaverView.Init ScreenSaverView.hasConfigureSheet ScreenSaverView.draw However, ScreenSaverView.StartAnimation ScreenSaverView.AnimateOneFrame are never called Oddly, this only happens when first opening the Desktop & Screen Saver window. Because, if you: start the screensaver (using the Preview button or a Hot Corner) then exit the screensaver open the Screen Saver Options panel for this screensver then close it switch to another screensaver then back... Any of these actions will cause the screensaver preview to start working. This sounds a little bit like what's beeing seen in https://github.com/JohnCoates/Aerial/issues/1190 which is a different 3rd party screensaver.
Posted
by XMI.
Last updated
.
Post not yet marked as solved
2 Replies
168 Views
I am interested how am I able to create a .saver format file for my macOS and which program do I need. My goal is to make custom screensavers using graphic programs. Tried to search an information about this, but couldn't find anything that would help due to I'm newbie. If you'll guide me though this I appreciate.
Posted Last updated
.
Post not yet marked as solved
0 Replies
241 Views
When I want to activate my app, after exits the screen saver, the password input interface is not displayed on Monterey. I use apple script to exit screen saver: osascript -e 'tell application "ScreenSaverEngine" to quit' What can I do to exit the screen saver and display the enter password screen? thanks,
Posted Last updated
.
Post not yet marked as solved
0 Replies
277 Views
I've been away from Xcode and MacOS development for some time now and wanted to return with a Screen Saver project. I've got my project working pretty well visually, but wanted to be able to set up some configuration items on the project. So I created a new xib file called ConfigurationSheet.xib, with an NSWindow but I'm not sure how to set this view as the configureSheet property on the ScreenSaverView base class. I feel like I need to create a Swift class for the view, but the examples I've seen all use UIKit and it seems like that's no longer available. Am I right about that? Should the view class be a SwiftUI view? And then that class gets set as the File Owner for the xib file? Then further, I think I'll need a controller for the ConfigurationSheet view. I apologize that I'm so out of step with modern Mac development, but a little current step-by-step here would be really helpful! thanks, scott
Posted Last updated
.
Post not yet marked as solved
3 Replies
308 Views
I haven't tried screensavers in a while. Now, under macOS 11.6, it appears that screensavers don't stop when I press a key (any key, even Esc), or move the mouse. This happens with the built-in screensaver , such as "Flurry" and others. The only way to escape from screesavers seems to be a mouse click. I was wondering if this is intentional by macOS or if I screwed up the settings of my Mac. If it is intentional, I was wondering what is the rationale behind that change? (it used to be the case that screensavers would stop immediately when the user pressed a key or moved the mouse). If it's my settings on my Mac, which one could it be? Way earlier, under Catalina and before, it used to be the case that screensavers could receive keyboard events and act upon them. Did Apple bring that back? I am asking all this because I am developing a screensaver myself.
Posted
by GabrielZ.
Last updated
.