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

No gif file found #71

Open
DmitrijGo opened this issue Aug 25, 2023 · 3 comments
Open

No gif file found #71

DmitrijGo opened this issue Aug 25, 2023 · 3 comments

Comments

@DmitrijGo
Copy link

I am currently utilizing the macOS Ventura operating system on a MacBook M2 Pro, and I have encountered a particular issue. Specifically, I can observe a GIF animation within the menu; however, upon initiating the process, an error message is displayed, indicating that "no GIF file has been located. Is this possible to solve?

@CattorBaconus
Copy link

Updated to Ventura recently, and tried this out. I encountered the same issue as you did, however I managed to find a fix:

Go to your default "Pictures" folder on Mac, and create a new folder (call it whatever you want). Put all your gifs there, and then you can select the specific directory or gif that you want FROM the Photos folder in MacOS. This rendered all my gifs correctly.

For some reason. it can't really detect if a gif is from another folder. Haven't tested out the full range for its detection though, just that it doesn't work if it's a personal folder that was created independently of what Mac stores as images and videos.

@DmitrijGo
Copy link
Author

It works well! Thank you so much!

@Waitsnake
Copy link
Owner

Waitsnake commented Jun 3, 2024

Updated to Ventura recently, and tried this out. I encountered the same issue as you did, however I managed to find a fix:

Go to your default "Pictures" folder on Mac, and create a new folder (call it whatever you want). Put all your gifs there, and then you can select the specific directory or gif that you want FROM the Photos folder in MacOS. This rendered all my gifs correctly.

@CattorBaconus Good find!

I literally never saw this issue on my machine since I always put my animations into a subfolder of "Pictures" folder anyways. Now I experimented with it. E.g. subfolders of "Downloads" folder will be ignored by macOS and you see "No gif file found" because macOS sandboxes this folder and ScreenSaver has no access to it, but on the other hand a subfolder directly in your home directory is also working.

But I can do nothing to change this sandboxes behaviour since a ScreenSaver is only a plugin that lives in the ScreenSaverEngine of the operating system of macOS (a process called legacyScreenSaver) and ScreenSaver has to life with the sandboxes options of legacyScreenSaver that Apple has took in place.

And there is another part of this problem that makes it even more tricky. As long as ScreenSaver plugin is running as preview within System Preferences it has different sandbox options from Apple and is allowed to access folders below "Downloads" folder and only the real screen saver later has no access to it. So when you change the option in System Preferences and select the folder or a file under Downloads you see a valid preview, but when you run the real screen saver it will show you "No gif file found".

This sandboxes options of legacyScreenSaver can literally not be changed by anyone since it is part of the Integrity Protected System Image of macOS that is for all readonly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants