Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview doesn't work #4

Open
agarrharr opened this issue Jun 6, 2019 · 7 comments
Open

Preview doesn't work #4

agarrharr opened this issue Jun 6, 2019 · 7 comments
Labels
bug Something isn't working help wanted Extra attention is needed screensaver

Comments

@agarrharr
Copy link

I'm on macOS Mojave 10.14.5

Screen Shot 2019-06-06 at 11 16 47

@amiantos amiantos added the bug Something isn't working label Jun 7, 2019
@amiantos
Copy link
Owner

amiantos commented Jun 7, 2019

It seems like this might be a bug in macOS, it affects a lot of screensavers.

I'll see if I need to do what's listed at the bottom of this issue to see if it fixes it: JohnCoates/Aerial#464

@amiantos
Copy link
Owner

amiantos commented Jun 7, 2019

Hmm, I'm not sure what's going on here. I already have NSPrincipalClass defined, and the other thing I found about it (Wandmalfarbe/Simple-Clock-Screensaver#1 (comment)) doesn't seem to apply either.

I have seen this happen with other Swift screensavers on my own machine, like I've seen it happen to https://github.com/pedrommcarrasco/Brooklyn as well.

@amiantos
Copy link
Owner

amiantos commented Jun 7, 2019

Interesting Apple developer forums say to not make screensavers using Swift, lol... seems like that's news to everyone. https://forums.developer.apple.com/message/268962#268962

@amiantos amiantos added the help wanted Extra attention is needed label Jun 7, 2019
@TheCloudGuyOrg
Copy link

TheCloudGuyOrg commented Aug 17, 2019

I posted in JohnCoates/Aerial#464 as well. I am getting this issue on my 2018 MacMini but not my 2017 13" MBP. Both are running macOS Mojave 10.14.5

2018 MacMini (Not Working)
Mac mini (2018)
Processor 3.2 GHz Intel Core i7
Memory 32 GB 2667 MHz DDR4
Graphics Intel UHD Graphics 630 1536 MB

2017 13" MBP (Working)
MacBook Pro (13-inch, 2017, Two Thunderbolt Ports)
Processor 3.2 GHz Intel Core i7
Memory 32 GB 2667 MHz DDR4
Graphics Intel Iris Plus Graphics 640 1536 MB

@glouel
Copy link

glouel commented Aug 17, 2019

Interesting Apple developer forums say to not make screensavers using Swift, lol... seems like that's news to everyone. https://forums.developer.apple.com/message/268962#268962

Yeah it's barely supported but it does work(ish). You'll notice that the Screensaver template in Xcode is Objective-C only. Apple seems to be willing to fix this by throwing the whole .saver model away, to be replaced by a (yet undocumented) .appex application extension for screensavers in Catalina. But as of latest Xcode beta there's no way to create those (that I've seen at least).

This is a pain because a .saver runs in a container now in Catalina, which causes a lot of issues for Aerial (I'm the maintainer there). I have many radars open, with little feedback so far (they only fixed multi monitor support). More here if you are interested: JohnCoates/Aerial#801

In any case, the preview bug is because of the Swift libraries when switching from one Swift screensaver to another, we have this in our FAQ :

"You cannot use the Aerial screen saver with this version of macOS." error: Select Aerial, close System Preferences with Aerial still selected, re-open System Preferences and Aerial should now work. This is a known bug with Swift screen savers in macOS/OS X reported (a long time ago...) to Apple as rdar://25569037.

I gave a longer reply here too, hopefully this will help you : JohnCoates/Aerial#464 (comment)

@TheCloudGuyOrg
Copy link

@glouel, I posted the longer reply there as well. Since JohnCoates/Aerial#464 (comment) is the main thread I am going to keep all the details in that case.

@jeffreypriebe
Copy link

jeffreypriebe commented Jun 26, 2020

2015 15" MBP (Working)
MacBook Pro (Retina, 15-inch, Mid 205)
Processor 2.2 GHz Intel Core i7
Memory 16 GB 1600 MHz DDR3
Graphics Intel Iris Pro 1536 MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed screensaver
Projects
None yet
Development

No branches or pull requests

5 participants