Delay in an initial movie playing

I have something very strange happening, and hopefully someone can point me in the right direction.

Still working with my screen saver program, which thanks to all of your help, is proceeding famously. But I just noticed something which I can only call peculiar.

If I run my program as it stands now, from Xojo in debug mode, when my start the program timer hits, the movie window opens and everything plays fine! However if I BUILD the program there seems to be a delay in the movie window showing and starting playing. Approximately 5 seconds.

Has anyone else run into something similar.

I am on Mac Sonoma with Xojo 2024R3.1

Regards

Ok, for some reason I can’t edit the original post, but I did find something.

If I quit the program normally i.e. the quit from the menu, it seems to work fine. If I (command+Q) on my mac that is when things seem to go goofy.

Regards

I have no idea what would cause the delay you describe, but you may have a conflict in your handling of Command-Q. The keyboard shortcut will call the Quit menu item, so it’s the same as selecting the menu, but if you have more than one handler for that menu item, then unexpected things can happen. So check that you have handled the Quit menu only in one place. A conflict can occur for example if you place a menu handler in the App module but also place one in your main window, and those two handlers have different code in them.

Hi Aaron.

all I have are the default menus, so I will try and see if “something” snuck in.

:smiley:

Thanks for the response.