Delay in start of movie playing

Hi All.

I’ve got something going on with a program I have been working on that TOTALLY evades my attempts to nail down.

My screensaver program, that I have been working on, has a situation that goes as follows:

If I start my screensaver, and it has to ask for permissions (the first time running, for example) the program works perfectly. So I put the program into “Full Disk Access” and run it, it skips the first 5 or so seconds of the first video.

If I give it full disk access, and have a messagebox, as an example, pop up, so the user has to click it, the program always runs properly.

I have verified that the program is closed after it ends - either on its own - or I end it with Activity Monitor.

I’ve stepped through it, but can’t seem to find a reason for this to happen. I have even turned down timers to virutually nothing (250 ms) but it still happens.

Has anyone had this happen???

Regards

Ok… for some reason I can’t edit my previous post, so I am adding this little update.

If I use a MessageBox before the program starts, saying “Click to start”, the program ALWAYS seems to run perfectly; now I am really confused.

Regards

Is a forum configuration, after some time (1 hour I think) you can no longer edit your post.

You posted on the ‘General’ section, can you provide information on what platform are you working (Windows, Mac, Linux).

Can you provide a sample project? Maybe you can report this at https://xojo.com/issues with more details and a sample project.

Hi there.

Sorry for not adding pertinent information. So here it goes.
Running on a mac Sonoma.
Xojo version 2024r4

My project is kind of large. As to posting a sample, I’ll try to get something together.

Stay tuned.

Regards